From 6c224d023ffff165138640117f412861a18e000b Mon Sep 17 00:00:00 2001 From: Anton Afanasyeu Date: Tue, 23 Jun 2026 12:59:49 +0200 Subject: [PATCH] cluster0: full workspace clone for submodule gitlinks Co-authored-by: Cursor --- sim/cluster0/scripts/deploy-ac-workspace.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sim/cluster0/scripts/deploy-ac-workspace.sh b/sim/cluster0/scripts/deploy-ac-workspace.sh index 2277de2..5178796 100755 --- a/sim/cluster0/scripts/deploy-ac-workspace.sh +++ b/sim/cluster0/scripts/deploy-ac-workspace.sh @@ -22,11 +22,12 @@ if [ -d "${AC_ROOT}/.git" ]; then else log "ac-workspace clone ${ORIGIN} → ${AC_ROOT}" rm -rf "$AC_ROOT" - git clone --branch "$BRANCH" --depth 1 "$ORIGIN" "$AC_ROOT" + git clone --branch "$BRANCH" "$ORIGIN" "$AC_ROOT" fi cd "$AC_ROOT" -log "submodule init: ${SUBS}" +log "submodule sync + init: ${SUBS}" +git submodule sync --recursive 2>/dev/null || true # shellcheck disable=SC2086 git submodule update --init --depth 1 $SUBS