From ce70a4afa1e8441a66e81f1d498f5f1beaa50b9f Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Wed, 20 Aug 2014 12:18:46 +0100 Subject: [PATCH] Remove redundant git-submodule commands in configure. --- configure | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/configure b/configure index a5ed768a24a..382685f4a39 100755 --- a/configure +++ b/configure @@ -490,7 +490,7 @@ then cd ${CFG_SRC_DIR} msg "git: submodule sync" - "${CFG_GIT}" submodule --quiet sync + "${CFG_GIT}" submodule --quiet sync --recursive # NB: this is just for the sake of getting the submodule SHA1 values # and status written into the build log. @@ -498,14 +498,6 @@ then "${CFG_GIT}" submodule status --recursive msg "git: submodule update" - "${CFG_GIT}" submodule update --init - need_ok "git failed" - - msg "git: submodule foreach sync" - "${CFG_GIT}" submodule foreach --recursive 'if test -e .gitmodules; then git submodule sync; fi' - need_ok "git failed" - - msg "git: submodule foreach update" "${CFG_GIT}" submodule update --init --recursive need_ok "git failed"