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 gitpython-developers#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

Lines changed: 2 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy