diff options
author | Shourya Shukla <shouryashukla.oo@gmail.com> | 2020-01-18 14:03:26 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-21 13:57:42 -0800 |
commit | c513a958b69090c02ad422b0cd4622009bb4b9f5 (patch) | |
tree | cf819a6b8459f4e752b0adf08d20350ade92b6ed /dir.h | |
parent | t6025: modernize style (diff) | |
download | tgif-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