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:
parent
0dfbb67988
commit
4b8740d94f
|
@ -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',
|
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue