Don't recursively init/update submodules.

Don't recursively init/update submodules.

When recursive fetching is desireable, set
fetchRecurseSubmodules = true in .gitmodules for the relevant
submodule.
This commit is contained in:
Rick Gibbed 2022-01-29 22:44:24 -06:00
parent 0dfbb67988
commit 4b8740d94f
1 changed files with 3 additions and 2 deletions

View File

@ -410,14 +410,15 @@ def git_is_repository():
def git_submodule_update():
"""Runs a full recursive git submodule init and update.
"""Runs a git submodule init and update.
"""
shell_call([
'git',
'-c',
'fetch.recurseSubmodules=on-demand',
'submodule',
'update',
'--init',
'--recursive',
])