diff options
| author | Deveshi Dwivedi <deveshigurgaon@gmail.com> | 2026-01-12 16:36:43 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-01-12 11:58:27 -0800 |
| commit | 7a747f972d73d9419603d8127514cf188ed7a9ab (patch) | |
| tree | 3359604c3e67af58a5a881f159ba963079da2494 /contrib/persistent-https | |
| parent | 1954b943227f2455d97e3b35ce106c203471b0ba (diff) | |
| download | git-7a747f972d73d9419603d8127514cf188ed7a9ab.tar.gz git-7a747f972d73d9419603d8127514cf188ed7a9ab.zip | |
t5403: use test_cmp for post-checkout argument checks
Update check_post_checkout and the post-checkout hook implementation to
use test_cmp instead of individual test commands. This provides better
error messages when tests fail, making it easier to debug which specific
argument (old ref, new ref, or flag) was incorrect.
The hook now outputs in key=value format which test_cmp can display
clearly when there's a mismatch.
Signed-off-by: Deveshi Dwivedi <deveshigurgaon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
