From 6fdb6a5eac7433098cfbb33d3e18d6dbba8fa3d3 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Wed, 22 Jul 2015 09:28:42 +0200 Subject: [PATCH] gic {init,clone} --separate-git-dir is supported only since 1.7.5 Without this commit the update() function of a submodule does not work in CentOS 6. --- git/objects/submodule/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index 610dddad7..eea091f8c 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -137,7 +137,7 @@ def _get_intermediate_items(self, item): @classmethod def _need_gitfile_submodules(cls, git): - return git.version_info[:3] >= (1, 7, 0) + return git.version_info[:3] >= (1, 7, 5) def __eq__(self, other): """Compare with another submodule"""