diff options
| author | Tian Yuchen <a3205153416@gmail.com> | 2026-01-17 14:25:15 +0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-01-17 10:01:14 -0800 |
| commit | bc8556d06652c50bb0ab03dd75fe31a1909975a4 (patch) | |
| tree | b2d0f891c4146fde3f2b5704dba67b02b9d2dd10 /t/t4013/diff.format-patch_--inline_--stdout_initial..master^ | |
| parent | 9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed (diff) | |
| download | git-bc8556d06652c50bb0ab03dd75fe31a1909975a4.tar.gz git-bc8556d06652c50bb0ab03dd75fe31a1909975a4.zip | |
t1005: modernize "! test -f" to "test_path_is_missing"
Replace instances of "! test -f <file>" with "test_path_is_missing <file>".
This macro provides better diagnostics when the test fails (it prints
"Path exists:" instead of silently failing).
Signed-off-by: Tian Yuchen <a3205153416@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..master^')
0 files changed, 0 insertions, 0 deletions
