Skip to content

Commit f1da442

Browse files
g2pbrson
authored andcommitted
submodule sync won't work in a leaf submodule.
1 parent 586b22a commit f1da442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ then
595595
need_ok "git failed"
596596

597597
msg "git: submodule foreach sync"
598-
"${CFG_GIT}" submodule --quiet foreach --recursive git submodule sync
598+
"${CFG_GIT}" submodule --quiet foreach --recursive 'if test -e .gitmodules; then git submodule sync; fi'
599599
need_ok "git failed"
600600

601601
msg "git: submodule foreach update"

0 commit comments

Comments
 (0)