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:
@@ -410,14 +410,15 @@ def git_is_repository():
|
|||||||
|
|
||||||
|
|
||||||
def git_submodule_update():
|
def git_submodule_update():
|
||||||
"""Runs a full recursive git submodule init and update.
|
"""Runs a git submodule init and update.
|
||||||
"""
|
"""
|
||||||
shell_call([
|
shell_call([
|
||||||
'git',
|
'git',
|
||||||
|
'-c',
|
||||||
|
'fetch.recurseSubmodules=on-demand',
|
||||||
'submodule',
|
'submodule',
|
||||||
'update',
|
'update',
|
||||||
'--init',
|
'--init',
|
||||||
'--recursive',
|
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user