Skip to content

Commit 10c1d8a

Browse files
committed
[update-checkout] Also update submodules when checking out branch heads
1 parent 56bb5dd commit 10c1d8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/update-checkout

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ def update_working_copy(repo_path, branch):
105105
# http://stackoverflow.com/a/30209750/125349
106106
check_call(["git", "fetch"])
107107
check_call(["git", "rebase", "FETCH_HEAD"])
108+
check_call(["git", "submodule", "update", "--recursive"])
108109

109110

110111
def obtain_additional_swift_sources(

0 commit comments

Comments
 (0)