Skip to content

Commit c55b3c6

Browse files
committed
Merge pull request #2787 from briancroom/update-checkout-submodules
[update-checkout] Also update submodules when checking out branch heads
2 parents 3661c39 + 10c1d8a commit c55b3c6

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)