aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-07-28 01:13:30 +0200
committerJunio C Hamano <gitster@pobox.com>2022-07-27 16:35:39 -0700
commite0258f15cbe1412659a0a68ac17b42dd470a49fb (patch)
tree1d59aa877ecff4312a17961986aaea040277d040 /builtin/commit.c
parenttest-lib: use $1, not $@ in test_known_broken_{ok,failure}_ (diff)
downloadgit-e0258f15cbe1412659a0a68ac17b42dd470a49fb.tar.gz
git-e0258f15cbe1412659a0a68ac17b42dd470a49fb.zip
test-lib: don't set GIT_EXIT_OK before calling test_atexit_handler
Change the control flow in test_done so that we'll set GIT_EXIT_OK=t after we call test_atexit_handler(). This seems to have been a mistake in 900721e15c4 (test-lib: introduce 'test_atexit', 2019-03-13). It doesn't make sense to allow our "atexit" handling to call "exit" without us emitting the errors we'll emit without GIT_EXIT_OK=t being set. 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