fix(submodule): update shallow clone fetch message to indicate shallow cloning

This commit is contained in:
Janik von Rotz committed 2025-09-02 09:12:11 +02:00
1 parent f3eff2c7ac
commit d3db2b7f3b
1 file changed
+1 -1
+1 -1
View File
@@ -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