From e2feb62c17acd1dddb6cd125d8b90933c32f89e1 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 20 Feb 2015 18:11:13 +0100 Subject: Apparently, git 1.7.9 supports git-files too, lets assume it's starting at 1.7.0 --- git/objects/submodule/base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'git/objects/submodule/base.py') diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index 4347df55..7e8dd053 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -136,8 +136,7 @@ class Submodule(util.IndexObject, Iterable, Traversable): @classmethod def _need_gitfile_submodules(cls, git): - # on debian wheezy, it seems to already support git files at this version. Maybe even earler, who knows - return git.version_info[:3] >= (1, 7, 10) + return git.version_info[:3] >= (1, 7, 0) def __eq__(self, other): """Compare with another submodule""" -- cgit v1.2.1