Skip to content

Commit 6fdb6a5

Browse files
author
Julien Pivotto
committed
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.
1 parent 1883eb9 commit 6fdb6a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: git/objects/submodule/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def _get_intermediate_items(self, item):
137137

138138
@classmethod
139139
def _need_gitfile_submodules(cls, git):
140-
return git.version_info[:3] >= (1, 7, 0)
140+
return git.version_info[:3] >= (1, 7, 5)
141141

142142
def __eq__(self, other):
143143
"""Compare with another submodule"""

0 commit comments

Comments
 (0)