diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-03-07 13:49:05 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-07 13:27:41 -0800 |
commit | c419562860e3baf1cd3ae1ed9cb7cce6ab06cbd5 (patch) | |
tree | d66bd546584c100748bde0b9d876701d7c5fd2bd /Documentation/git-rm.txt | |
parent | apply tests: don't ignore "git ls-files" exit code, drop sub-shell (diff) | |
download | tgif-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 'Documentation/git-rm.txt')
0 files changed, 0 insertions, 0 deletions