From 7c90fd88294411740ac08457c6591aa7ea7651a9 Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Fri, 11 Nov 2011 12:15:17 +1000 Subject: [PATCH] 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 --- init-repository | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }