diff options
author | Rodrigo Michelassi <rodmichelassi@gmail.com> | 2025-06-16 21:29:39 -0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-06-16 21:49:05 -0700 |
commit | 855cfc65aeca5b2458a6bc100eb1280a119fdb87 (patch) | |
tree | 4796329477ef21795c97939bb703fabcb50c349f /git-gui/lib/commit.tcl | |
parent | f93ff170b93a1782659637824b25923245ac9dd1 (diff) |
t2400: replace 'test -[efd]' with 'test_path_is_*'
'test_path_is_file', 'test_path_is_dir' and 'test_file_is_missing'
are test helpers used in Git's development, that emit useful
diagnostic information when they detect a failing condition, while
test -[efd] does not.
Replace the basic shell commands 'test -f', 'test -d' and 'test -e',
with these test helpers.
Co-authored-by: Isabella Caselli <icaselli@usp.br>
Signed-off-by: Isabella Caselli <icaselli@usp.br>
Signed-off-by: Rodrigo Michelassi <rodmichelassi@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions