]> git.ipfire.org Git - thirdparty/git.git/commit
t6025: use helpers to replace test -f <path>
authorShourya Shukla <shouryashukla.oo@gmail.com>
Sat, 18 Jan 2020 08:33:26 +0000 (14:03 +0530)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Jan 2020 21:57:42 +0000 (13:57 -0800)
commitc513a958b69090c02ad422b0cd4622009bb4b9f5
treecf819a6b8459f4e752b0adf08d20350ade92b6ed
parent70789843bd8f48a15e68619ca33c548969dc90b6
t6025: use helpers to replace test -f <path>

Take advantage of helper function 'test_path_is_file()' to
replace 'test -f' since the function makes the code more
readable and gives better error messages.

Signed-off-by: Shourya Shukla <shouryashukla.oo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6025-merge-symlinks.sh