summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorVincenzo Mezzela <vincenzo.mezzela@gmail.com>2024-03-04 18:17:32 +0100
committerJunio C Hamano <gitster@pobox.com>2024-03-06 15:32:12 -0800
commit9a90118d788a38b051f6bcad92310978f065eeee (patch)
treeaeeb6bd2bd8b8e6bf27a5c2ae336c41bcd921068 /builtin/commit.c
parentb387623c12f3f4a376e4d35a610fd3e55d7ea907 (diff)
t7301: use test_path_is_(missing|file)
Replace "test -f" and friends to use the test_path_is_file helper function and friends from test-lib-functions.sh. These functions perform identical operations while enhancing debugging capabilities in case of test failures. The original used 'test ! -f' to check if the file has been correctly cleaned, so 'test ! -e' would have been a better choice. Replace them with 'test_path_is_missing'. Signed-off-by: Vincenzo Mezzela <vincenzo.mezzela@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions