aboutsummaryrefslogtreecommitdiff
path: root/ci/lib.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-05-15 09:52:54 -0700
committerJunio C Hamano <gitster@pobox.com>2024-05-15 09:52:54 -0700
commit3fc99d037f10dcce9c1f5e5723ebbf9fc7f1e897 (patch)
tree7a659bf88524785eec22f45e907161dfab0bc8be /ci/lib.sh
parent60521f604339b3be32d50511849eafcba22d98b5 (diff)
parent8f19e82c5b313a1518119cc4b31c32ec3001b967 (diff)
downloadgit-3fc99d037f10dcce9c1f5e5723ebbf9fc7f1e897.tar.xz
Merge branch 'jt/port-ci-whitespace-check-to-gitlab'
The "whitespace check" task that was enabled for GitHub Actions CI has been ported to GitLab CI. * jt/port-ci-whitespace-check-to-gitlab: gitlab-ci: add whitespace error check ci: make the whitespace report optional ci: separate whitespace check script github-ci: fix link to whitespace error ci: pre-collapse GitLab CI sections
Diffstat (limited to 'ci/lib.sh')
-rwxr-xr-xci/lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/lib.sh b/ci/lib.sh
index 273f3540a6..1f4059b1b8 100755
--- a/ci/lib.sh
+++ b/ci/lib.sh
@@ -18,7 +18,7 @@ elif test true = "$GITLAB_CI"
then
begin_group () {
need_to_end_group=t
- printf "\e[0Ksection_start:$(date +%s):$(echo "$1" | tr ' ' _)\r\e[0K$1\n"
+ printf "\e[0Ksection_start:$(date +%s):$(echo "$1" | tr ' ' _)[collapsed=true]\r\e[0K$1\n"
trap "end_group '$1'" EXIT
set -x
}