path: root/init-repository
diff options
authorRohan McGovern <>2011-11-11 12:15:17 +1000
committerQt by Nokia <>2011-11-11 15:17:04 +0100
commit7c90fd88294411740ac08457c6591aa7ea7651a9 (patch)
tree1364b6a6acc20f96d5ab92f1697a7ec7084b1955 /init-repository
parent5981f1728697d2afae25a17f2094769c69142787 (diff)
init-repository: fixed src/3rdparty/v8 sometimes pointing at wrong SHA1
This script was doing a `git clone' for each submodule (so that we can use local mirrors), then using `git submodule update' to ensure all the submodules point to the right SHA1. Since this wasn't done recursively, a clean clone and init-repository would leave qtbase/src/3rdparty/v8 pointing at whatever SHA1 was set in the HEAD of qtbase, which is wrong. Fix it by doing the update recursively. Change-Id: Id183d0f983bfd59b2b9d0a8e160a906545219784 Sanity-Review: Qt Sanity Bot <> Reviewed-by: Sergio Ahumada <> Reviewed-by: Oswald Buddenhagen <>
Diffstat (limited to 'init-repository')
1 files changed, 1 insertions, 1 deletions
diff --git a/init-repository b/init-repository
index 2561665b..4a49cfd4 100755
--- a/init-repository
+++ b/init-repository
@@ -510,7 +510,7 @@ sub git_clone_all_submodules
- $self->exe('git', 'submodule', 'update');
+ $self->exe('git', 'submodule', 'update', '--recursive');