From 291c8137e524b2ad1905f9c83d3abd0aa5f6d5ba Mon Sep 17 00:00:00 2001 From: Gabriel Date: Mon, 22 Oct 2012 22:21:29 +0200 Subject: [PATCH] `submodule sync` won't work in a leaf submodule. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index e67ea3af5f382..9e84048d91b65 100755 --- a/configure +++ b/configure @@ -579,7 +579,7 @@ then need_ok "git failed" msg "git: submodule foreach sync" - "${CFG_GIT}" submodule --quiet foreach --recursive git submodule sync + "${CFG_GIT}" submodule --quiet foreach --recursive 'if test -e .gitmodules; then git submodule sync; fi' need_ok "git failed" msg "git: submodule foreach update"