From e4a80d4b89819a0a0244546825ba1e22047cd01b Mon Sep 17 00:00:00 2001 From: SONOLET Aymeric Date: Fri, 8 Dec 2023 15:41:39 +0100 Subject: [PATCH] feat update: git recurse submodule --- src/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 2.39.2