summaryrefslogtreecommitdiff
path: root/dir-iterator.h
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2022-03-07 13:49:05 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-07 13:27:41 -0800
commitc419562860e3baf1cd3ae1ed9cb7cce6ab06cbd5 (patch)
treed66bd546584c100748bde0b9d876701d7c5fd2bd /dir-iterator.h
parentapply tests: don't ignore "git ls-files" exit code, drop sub-shell (diff)
downloadtgif-c419562860e3baf1cd3ae1ed9cb7cce6ab06cbd5.tar.xz
checkout tests: don't ignore "git <cmd>" exit code
Change a fragile pattern introduced in 696acf45f96 (checkout: implement "-" abbreviation, add docs and tests, 2009-01-17) to check the exit code of both "git symbolic-ref" and "git rev-parse". Without this change this test will become flaky e.g. under SANITIZE=leak if some (but not all) memory leaks revealed by these commands are fixed. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir-iterator.h')
0 files changed, 0 insertions, 0 deletions