aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-12-12 07:47:15 +0100
committerJunio C Hamano <gitster@pobox.com>2024-12-12 16:57:21 +0900
commit33b06fa603958ba936ea7602c9b81d10ffcd08bb (patch)
tree143a85f829c07eabcabb44f78af9101b7a69dda8
parentgitlab-ci: update macOS images to Sonoma (diff)
downloadgit-33b06fa603958ba936ea7602c9b81d10ffcd08bb.tar.gz
git-33b06fa603958ba936ea7602c9b81d10ffcd08bb.zip
ci/lib: remove duplicate trap to end "CI setup" group
We exlicitly trap on EXIT in order to end the "CI setup" group. This isn't necessary though given that `begin_group ()` already sets up the trap for us. Remove the duplicate trap. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xci/lib.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/ci/lib.sh b/ci/lib.sh
index 74b430be23..de3a95cea1 100755
--- a/ci/lib.sh
+++ b/ci/lib.sh
@@ -56,7 +56,6 @@ group () {
}
begin_group "CI setup"
-trap "end_group 'CI setup'" EXIT
# Set 'exit on error' for all CI scripts to let the caller know that
# something went wrong.