Skip to content

Commit 3d74543

Browse files
committed
Adjust minimum git version with git-file support.
As I am pretty sure to have tested it with 1.7.0, I assume they added the git file feature somewhere between .0 .10. Fixes #252
1 parent 346424d commit 3d74543

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

git/objects/submodule/base.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ def _get_intermediate_items(self, item):
136136

137137
@classmethod
138138
def _need_gitfile_submodules(cls, git):
139-
return git.version_info[:3] >= (1, 8, 0)
139+
# on debian wheezy, it seems to already support git files at this version. Maybe even earler, who knows
140+
return git.version_info[:3] >= (1, 7, 10)
140141

141142
def __eq__(self, other):
142143
"""Compare with another submodule"""

0 commit comments

Comments
 (0)