Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-10-13 00:02:22 +0300
committerJunio C Hamano <gitster@pobox.com>2022-10-13 00:12:40 +0300
commit910e2b372f215263a79ae1d849274d2a212c16e2 (patch)
treef3536c6c60b5b9e560aea9fa58c4fc1fafaf7dd5 /run-command.h
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 'run-command.h')
0 files changed, 0 insertions, 0 deletions