commit with -a

This commit is contained in:
Jakobus Schürz 2020-10-31 07:41:20 +01:00
parent 692e402257
commit 281944cd61

View file

@ -117,7 +117,8 @@ if ${MYSHELLCONFIG_GIT_SUBMODULES_UPDATE-${MYSHELLCONFIG_GIT_SUBMODULES_UPDATE_D
# logdebug "$($SGIT submodule sync)" || { logwarn "sync submodules failed on sync"; rc=6; } # logdebug "$($SGIT submodule sync)" || { logwarn "sync submodules failed on sync"; rc=6; }
logdebug "$($SGIT submodule update --remote)" logdebug "$($SGIT submodule update --remote)"
#logdebug "$($SGIT submodule update --init --recursive)" #logdebug "$($SGIT submodule update --init --recursive)"
logdebug "$($SGIT commit .gitmodules -a -m 'update submodules')" #logdebug "$($SGIT commit .gitmodules -m 'update submodules')"
logdebug "$($SGIT commit -a -m 'update submodules')"
#$SGIT submodule update --init --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 #$SGIT checkout .gitmodules
logdebug "submodules updated successfully" logdebug "submodules updated successfully"