change update-submodules strategy

This commit is contained in:
Jakobus Schürz 2020-10-31 07:31:06 +01:00
parent a01bcb3405
commit bcbfa77ad8

View file

@ -115,8 +115,8 @@ if ${MYSHELLCONFIG_GIT_SUBMODULES_UPDATE-${MYSHELLCONFIG_GIT_SUBMODULES_UPDATE_D
# run git submodule sync only ich local repo should use submodule urls from main-project
# so don't use it here
# 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 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