diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-12-02 01:06:29 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-12-05 09:28:04 +0900 |
commit | 5f3bfdc4f3de4800737dd0f5df25c10497894178 (patch) | |
tree | f502a34fc70b4f67bdc977d611d2fff73c7d996d /builtin/commit-graph.c | |
parent | e7e5c6f715b2de7bea0d39c7d2ba887335b40aa0 (diff) |
t4023: fix ignored exit codes of git
Change a "git diff-tree" command to be &&-chained so that we won't
ignore its exit code, see the ea05fd5fbf7 (Merge branch
'ab/keep-git-exit-codes-in-tests', 2022-03-16) topic for prior art.
This fixes code added in b45563a229f (rename: Break filepairs with
different types., 2007-11-30). Due to hiding the exit code we hid a
memory leak under SANITIZE=leak.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions