diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-10-14 00:47:28 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-14 16:54:54 (GMT) |
commit | 8583bf75591398fff3c0ef44eb59cd23b4565298 (patch) | |
tree | 3ee2c7564ccd05bebd79aaf1421f4350f3cfd2f0 /trace2.c | |
parent | 2bd2f258f4195ac54293a3f45b86457c0bd5fc11 (diff) | |
download | git-8583bf75591398fff3c0ef44eb59cd23b4565298.zip git-8583bf75591398fff3c0ef44eb59cd23b4565298.tar.gz git-8583bf75591398fff3c0ef44eb59cd23b4565298.tar.bz2 |
test-lib.sh: de-duplicate error() teardown code
De-duplicate the "finalize_junit_xml; GIT_EXIT_OK=t; exit 1" code
shared between the "error()" and "--immediate on failure" code paths,
in preparation for adding a third user in a subsequent commit.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace2.c')
0 files changed, 0 insertions, 0 deletions