Merge branch 'ps/ci-reduce-gitlab-envsize' into jch

CI fix.

* ps/ci-reduce-gitlab-envsize:
  ci: unset GITLAB_FEATURES envvar to not bust xargs(1) limits
This commit is contained in:
Junio C Hamano
2026-03-03 11:08:27 -08:00

View File

@@ -231,6 +231,10 @@ then
distro=$(echo "$CI_JOB_IMAGE" | tr : -)
elif test true = "$GITLAB_CI"
then
# This environment is multiple kB in size and may cause us to exceed
# xargs(1) limits on Windows.
unset GITLAB_FEATURES
CI_TYPE=gitlab-ci
CI_BRANCH="$CI_COMMIT_REF_NAME"
CI_COMMIT="$CI_COMMIT_SHA"