mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +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
8f01a7c6f8
commit
a142ddc5c5
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