summaryrefslogtreecommitdiff
path: root/dir.h
diff options
context:
space:
mode:
authorLibravatar Shourya Shukla <shouryashukla.oo@gmail.com>2020-01-18 14:03:26 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-01-21 13:57:42 -0800
commitc513a958b69090c02ad422b0cd4622009bb4b9f5 (patch)
treecf819a6b8459f4e752b0adf08d20350ade92b6ed /dir.h
parentt6025: modernize style (diff)
downloadtgif-c513a958b69090c02ad422b0cd4622009bb4b9f5.tar.xz
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>
Diffstat (limited to 'dir.h')
0 files changed, 0 insertions, 0 deletions