add submodule function

This commit is contained in:
Jakobus Schürz 2020-10-28 23:05:19 +01:00
parent a7f2218a75
commit 641b300d95

View file

@ -104,6 +104,7 @@ logdebug "update submodules"
# 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)"
#$SGIT submodule update --init --remote --merge 1>>"${MYSHELLCONFIG_LOGFILE}" 2>&1 || { logwarn " update submodules failed on update"; rc=9; }
#$SGIT checkout .gitmodules