From 79b3ba9f2f9012d931f9b1e6a4dc54ee4fa03217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Wed, 28 Oct 2020 21:17:57 +0100 Subject: [PATCH] update submodules not recursive --- bin/git-myshellconfig-checkout | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/git-myshellconfig-checkout b/bin/git-myshellconfig-checkout index c7722a9..f808d75 100755 --- a/bin/git-myshellconfig-checkout +++ b/bin/git-myshellconfig-checkout @@ -100,7 +100,8 @@ logdebug "update submodules" logdebug "$($SGIT submodule sync)" || { logwarn "sync submodules failed on sync"; rc=6; } #$SGIT submodule foreach "git checkout master" 1>>"${MYSHELLCONFIG_LOGFILE}" 2>&1 || { logwarn "checkout master submodules failed on set upstream"; rc=7; } #$SGIT submodule foreach "git branch -u origin/master master" 1>>"${MYSHELLCONFIG_LOGFILE}" 2>&1|| { logwarn "set-upstream submodules failed on set upstream"; rc=8; } - $SGIT submodule update --init --recursive --remote --merge 1>>"${MYSHELLCONFIG_LOGFILE}" 2>&1 || { logwarn " update submodules failed on update"; rc=9; } + #$SGIT submodule update --init --recursive --remote --merge 1>>"${MYSHELLCONFIG_LOGFILE}" 2>&1 || { logwarn " update submodules failed on update"; rc=9; } + $SGIT submodule update --init --remote --merge 1>>"${MYSHELLCONFIG_LOGFILE}" 2>&1 || { logwarn " update submodules failed on update"; rc=9; } $SGIT checkout .gitmodules logdebug "submodules updated successfully" >&2