diff --git a/scripts/git-update.sh b/scripts/git-update.sh index e9c7494e61..43124a5f13 100755 --- a/scripts/git-update.sh +++ b/scripts/git-update.sh @@ -35,12 +35,12 @@ for m in $CORE $MODULES $EXTRA_MODULES; do echo "+ updating $m" cd $m - git pull + git pull --rebase if test $? -ne 0 then echo "$m: update (trying stash, pull, stash apply)" >> $ERROR_LOG git stash - git pull + git pull --rebase if test $? -ne 0 then echo "$m: update" >> $ERROR_LOG