Skip to content
Snippets Groups Projects
Commit ff329f06 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: rm git gc --no-auto again

parent 872f5c6a
No related branches found
No related tags found
1 merge request!1014feat: install py-rucio-clients in xl
Pipeline #103913 failed
...@@ -157,7 +157,6 @@ git config --global advice.detachedHead false ...@@ -157,7 +157,6 @@ git config --global advice.detachedHead false
git config --global gc.autoDetach false git config --global gc.autoDetach false
git clone --filter=tree:0 https://github.com/${SPACK_ORGREPO}.git ${SPACK_ROOT} git clone --filter=tree:0 https://github.com/${SPACK_ORGREPO}.git ${SPACK_ROOT}
git -C ${SPACK_ROOT} checkout ${SPACK_VERSION} git -C ${SPACK_ROOT} checkout ${SPACK_VERSION}
git -C ${SPACK_ROOT} gc --no-auto
if [ -n "${SPACK_CHERRYPICKS}" ] ; then if [ -n "${SPACK_CHERRYPICKS}" ] ; then
SPACK_CHERRYPICKS=$(git -C ${SPACK_ROOT} rev-list --topo-order ${SPACK_CHERRYPICKS} | grep -m $(echo ${SPACK_CHERRYPICKS} | wc -w) "${SPACK_CHERRYPICKS}" | tac) SPACK_CHERRYPICKS=$(git -C ${SPACK_ROOT} rev-list --topo-order ${SPACK_CHERRYPICKS} | grep -m $(echo ${SPACK_CHERRYPICKS} | wc -w) "${SPACK_CHERRYPICKS}" | tac)
eval "declare -A SPACK_CHERRYPICKS_FILES_ARRAY=(${SPACK_CHERRYPICKS_FILES})" eval "declare -A SPACK_CHERRYPICKS_FILES_ARRAY=(${SPACK_CHERRYPICKS_FILES})"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment