Skip to content

Commit 5e9895e

Browse files
Dave AbrahamsDave Abrahams
authored andcommitted
[update-checkout] support submodules
swift-corelibs-libdispatch is using them.
1 parent 7f61956 commit 5e9895e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/update-checkout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def update_single_repository(repo_path, branch, reset_to_remote, should_clean):
3838

3939
print("--- Updating '" + repo_path + "' ---")
4040
with shell.pushd(repo_path, dry_run=False, echo=False):
41-
shell.call(["git", "fetch"], echo=True)
41+
shell.call(["git", "fetch", "--recurse-submodules=yes"], echo=True)
4242

4343
if should_clean:
4444
shell.call(['git', 'clean', '-fdx'],

0 commit comments

Comments
 (0)