From 7553a3e89c5aeab93124a832713672013ddcbcd4 Mon Sep 17 00:00:00 2001 From: Aussiemon <1407091-Aussiemon@users.noreply.gitlab.com> Date: Fri, 2 Jan 2026 03:07:09 -0700 Subject: [PATCH] Fetch --unshallow in ubuntu_gcc_preprocess.sh --- CI/ubuntu_gcc_preprocess.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CI/ubuntu_gcc_preprocess.sh b/CI/ubuntu_gcc_preprocess.sh index d519d178aa..82ac65409a 100755 --- a/CI/ubuntu_gcc_preprocess.sh +++ b/CI/ubuntu_gcc_preprocess.sh @@ -56,9 +56,9 @@ if [[ "${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}" ]]; then git remote add source "${CI_MERGE_REQUEST_SOURCE_PROJECT_URL}" git fetch --unshallow source "${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}" elif [[ "${CI_COMMIT_BRANCH}" ]]; then - git fetch origin "${CI_COMMIT_BRANCH:?}" + git fetch --unshallow origin "${CI_COMMIT_BRANCH:?}" else - git fetch origin + git fetch --unshallow origin fi BASE_VERSION=$(git merge-base "target/${TARGET_BRANCH:?}" "${VERSION:?}")