mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
scripts: Use git pull --rebase
No point introducing redundant merge commits.
This commit is contained in:
parent
0d5ddc96f2
commit
f6e4ca0d2d
1 changed files with 2 additions and 2 deletions
|
@ -35,12 +35,12 @@ for m in $CORE $MODULES $EXTRA_MODULES; do
|
||||||
echo "+ updating $m"
|
echo "+ updating $m"
|
||||||
cd $m
|
cd $m
|
||||||
|
|
||||||
git pull
|
git pull --rebase
|
||||||
if test $? -ne 0
|
if test $? -ne 0
|
||||||
then
|
then
|
||||||
echo "$m: update (trying stash, pull, stash apply)" >> $ERROR_LOG
|
echo "$m: update (trying stash, pull, stash apply)" >> $ERROR_LOG
|
||||||
git stash
|
git stash
|
||||||
git pull
|
git pull --rebase
|
||||||
if test $? -ne 0
|
if test $? -ne 0
|
||||||
then
|
then
|
||||||
echo "$m: update" >> $ERROR_LOG
|
echo "$m: update" >> $ERROR_LOG
|
||||||
|
|
Loading…
Reference in a new issue