fix failed checkout
This commit is contained in:
parent
a69aa10696
commit
e1021fee1d
1 changed files with 2 additions and 1 deletions
|
@ -90,7 +90,8 @@ fi
|
||||||
#echo $SGIT fetch ${MSC_GIT_REMOTE_NAME} -p 1>&2
|
#echo $SGIT fetch ${MSC_GIT_REMOTE_NAME} -p 1>&2
|
||||||
if $dorepoupdate; then
|
if $dorepoupdate; then
|
||||||
loginfo "fetch repo${dosubmodupdate:+ and submodules}"
|
loginfo "fetch repo${dosubmodupdate:+ and submodules}"
|
||||||
$SGIT fetch ${dosubmodupdate:+--recurse-submodules} ${MSC_GIT_REMOTE_NAME} -p 2>>"${MSC_LOGFILE}"|| { logwarn fetch failed; gitupdateend; exit 1; }
|
#$SGIT fetch ${dosubmodupdate:+--recurse-submodules} ${MSC_GIT_REMOTE_NAME} -p 2>>"${MSC_LOGFILE}"|| { logwarn fetch failed; gitupdateend; exit 1; }
|
||||||
|
$SGIT fetch ${dosubmodupdate:+--recurse-submodules} ${MSC_GIT_BRANCH} -p 2>>"${MSC_LOGFILE}"|| { logwarn fetch failed; gitupdateend; exit 1; }
|
||||||
if ${dosubmodupdate:-false}; then
|
if ${dosubmodupdate:-false}; then
|
||||||
lastupdatesubmodules
|
lastupdatesubmodules
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue