summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-02-20 18:11:13 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-02-20 18:11:13 +0100
commite2feb62c17acd1dddb6cd125d8b90933c32f89e1 (patch)
tree80ceb12d46c087b2eec6883dc976a8bc2108d418
parent38fc944390d57399d393dc34b4d1c5c81241fb87 (diff)
downloadgitpython-e2feb62c17acd1dddb6cd125d8b90933c32f89e1.tar.gz
Apparently, git 1.7.9 supports git-files too, lets assume it's starting at 1.7.0
-rw-r--r--git/objects/submodule/base.py3
1 files changed, 1 insertions, 2 deletions
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"""