From: SONOLET Aymeric Date: Fri, 8 Dec 2023 14:41:39 +0000 (+0100) Subject: feat update: git recurse submodule X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e4a80d4b89819a0a0244546825ba1e22047cd01b;p=tools%2Fsat.git feat update: git recurse submodule --- diff --git a/src/system.py b/src/system.py index 033ce06..a5d84ed 100644 --- a/src/system.py +++ b/src/system.py @@ -238,7 +238,7 @@ def git_pull(from_what, tag, git_options, where, logger, environment=None): where.make() where_git = os.path.join(str(where), ".git") cmd = r""" -git --git-dir=%(where_git)s --work-tree=%(where)s pull %(git_options)s --ff-only origin %(tag)s +git --git-dir=%(where_git)s --work-tree=%(where)s pull %(git_options)s --recurse-submodule --ff-only origin %(tag)s """ cmd = cmd % {'git_options': git_options, 'tag': tag, 'where': str(where), 'where_git': where_git}