diff options
| author | Francesco Paparatto <francescopaparatto@gmail.com> | 2026-02-28 01:59:39 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-02 13:13:56 -0800 |
| commit | f31b322008c526693660770e66c12f4bcfd29558 (patch) | |
| tree | bc839f8671f24693f9303208cda4bee6b3fcc6bc /contrib/persistent-https | |
| parent | 67ad42147a7acc2af6074753ebd03d904476118f (diff) | |
| download | git-f31b322008c526693660770e66c12f4bcfd29558.tar.gz git-f31b322008c526693660770e66c12f4bcfd29558.zip | |
t3310: replace test -f/-d with test_path_is_file/test_path_is_dir
Replace old-style path assertions with modern helpers that
provide clearer diagnostic messages on failure. When test -f
fails, the output gives no indication of what went wrong.
These instances were found using:
git grep "test -[efd]" t/
as suggested in the microproject ideas.
Signed-off-by: Francesco Paparatto <francescopaparatto@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
