summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorShourya Shukla <shouryashukla.oo@gmail.com>2020-01-18 14:03:26 +0530
committerJunio C Hamano <gitster@pobox.com>2020-01-21 13:57:42 -0800
commitc513a958b69090c02ad422b0cd4622009bb4b9f5 (patch)
treecf819a6b8459f4e752b0adf08d20350ade92b6ed /builtin/commit.c
parent70789843bd8f48a15e68619ca33c548969dc90b6 (diff)
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions