mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
scripts: git-update.sh: fix for non-master branches
Pull from tracking branch instead of origin/master, so that this works with e.g. 1.2 as well.
This commit is contained in:
parent
c3181fa5df
commit
e5067fd9aa
1 changed files with 2 additions and 2 deletions
|
@ -35,12 +35,12 @@ for m in $CORE $MODULES $EXTRA_MODULES; do
|
|||
echo "+ updating $m"
|
||||
cd $m
|
||||
|
||||
git pull origin master
|
||||
git pull
|
||||
if test $? -ne 0
|
||||
then
|
||||
echo "$m: update (trying stash, pull, stash apply)" >> $ERROR_LOG
|
||||
git stash
|
||||
git pull origin master
|
||||
git pull
|
||||
if test $? -ne 0
|
||||
then
|
||||
echo "$m: update" >> $ERROR_LOG
|
||||
|
|
Loading…
Reference in a new issue