]> Kevux Git Server - rit/commit
t7605: use test_path_is_file instead of test -f
authorMansi Singh <mansimaanu8627@gmail.com>
Tue, 10 Mar 2026 22:50:22 +0000 (22:50 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Mar 2026 23:25:10 +0000 (16:25 -0700)
commit69efd53c8154a26cbb98c9c16ceff26060b288a9
tree120c71db767138de685fd898007191aff201357e
parent67ad42147a7acc2af6074753ebd03d904476118f
t7605: use test_path_is_file instead of test -f

Replace old-style 'test -f' path checks with the modern
test_path_is_file helper in the merge_c1_to_c2_cmds block.

The helper provides clearer failure messages and is the
established convention in Git's test suite.

Signed-off-by: Mansi Singh <mansimaanu8627@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7605-merge-resolve.sh