diff --git a/bin/git-myshellconfig-checkout b/bin/git-myshellconfig-checkout index 0445a92..a6e31e3 100755 --- a/bin/git-myshellconfig-checkout +++ b/bin/git-myshellconfig-checkout @@ -108,6 +108,7 @@ logdebug "update submodules" # logdebug "$($SGIT submodule sync)" || { logwarn "sync submodules failed on sync"; rc=6; } logdebug "$($SGIT submodule update --remote)" logdebug "$($SGIT submodule update --init --recursive)" + logdebug "$($SGIT commit .gitmodules -m 'update submodules')" #$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"