summaryrefslogtreecommitdiffstats
path: root/init-repository
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-11-11 12:15:17 +1000
committerQt by Nokia <qt-info@nokia.com>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 <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'init-repository')
-rwxr-xr-xinit-repository2
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');
return;
}