summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-04-05 11:46:14 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-04-05 17:17:54 +0000
commitaa761dd7346d2d61787010e1846a3c556b688914 (patch)
tree9519fca77d5b29b587443332e2da7ff8f76327b2 /tools
parentf962cadf8dd0a7aee59573896148c0ea96bd5503 (diff)
Fix gn branch updating
We were staying on a local branch instead of following the local one meaning we were not getting any of the changes to gn. Change-Id: Iae74ac17674452731f32a0afcbbfe1ebeb8fa8e7 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/scripts/init-repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scripts/init-repository.py b/tools/scripts/init-repository.py
index 221f74a65..51de479d4 100755
--- a/tools/scripts/init-repository.py
+++ b/tools/scripts/init-repository.py
@@ -110,7 +110,7 @@ def initUpstreamSubmodules():
gnSubmodule = GitSubmodule.Submodule()
gnSubmodule.path = 'src/3rdparty_upstream/gn'
- gnSubmodule.ref = 'master'
+ gnSubmodule.ref = 'origin/master'
gnSubmodule.url = gn_url
gnSubmodule.os = 'all'
gnSubmodule.initialize()