summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-10-12 23:02:22 +0200
committerJunio C Hamano <gitster@pobox.com>2022-10-12 14:12:40 -0700
commit910e2b372f215263a79ae1d849274d2a212c16e2 (patch)
treef3536c6c60b5b9e560aea9fa58c4fc1fafaf7dd5 /builtin/commit.c
parent7dd5762d9f3980a85f96dd9f143184dc2fa07275 (diff)
run-command tests: use "return", not "exit"
Change the "run-command" test helper to "return" instead of calling "exit", see 338abb0f045 (builtins + test helpers: use return instead of exit() in cmd_*, 2021-06-08) Because we'd previously gotten past the SANITIZE=leak check by using exit() here we need to move to "goto cleanup" pattern. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions