From d3db2b7f3b63bbfbe3ef7259c95fcc3cb5c67081 Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Tue, 2 Sep 2025 09:12:11 +0200 Subject: [PATCH] fix(submodule): update shallow clone fetch message to indicate shallow cloning --- task | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/task b/task index 52fb8506..306a929f 100755 --- a/task +++ b/task @@ -2391,7 +2391,7 @@ function switch-git-folder() { SHALLOW=$(git config --file .gitmodules --get-regexp submodule."$GIT_FOLDER".shallow | awk '{ print $2 }') if [ "$SHALLOW" = "true" ]; then - echo "Fetch branch $ODOO_VERSION from origin and then switch." + echo "Fetch branch $ODOO_VERSION (shallow) from origin and then switch." git fetch origin "$ODOO_VERSION:$ODOO_VERSION" git -C "$GIT_FOLDER" switch "$ODOO_VERSION" else