Merge pull request #305 from klutzy/submodule-sync

Sync submodule recursively
This commit is contained in:
Brian Anderson 2013-03-26 11:26:50 -07:00
commit 2570045bf1

8
configure vendored
View file

@ -368,6 +368,14 @@ then
"${CFG_GIT}" submodule status --recursive
msg "git: submodule update"
"${CFG_GIT}" submodule --quiet update --init
need_ok "git failed"
msg "git: submodule foreach 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"
"${CFG_GIT}" submodule --quiet update --init --recursive
need_ok "git failed"