summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorFrancesco Paparatto <francescopaparatto@gmail.com>2026-02-28 01:59:39 +0100
committerJunio C Hamano <gitster@pobox.com>2026-03-02 13:13:56 -0800
commitf31b322008c526693660770e66c12f4bcfd29558 (patch)
treebc839f8671f24693f9303208cda4bee6b3fcc6bc /contrib/persistent-https
parent67ad42147a7acc2af6074753ebd03d904476118f (diff)
downloadgit-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