summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--git_command.py3
-rwxr-xr-xrepo2
-rw-r--r--tests/test_git_command.py2
3 files changed, 4 insertions, 3 deletions
diff --git a/git_command.py b/git_command.py
index dc542c36..5017ea9b 100644
--- a/git_command.py
+++ b/git_command.py
@@ -28,7 +28,8 @@ from repo_trace import REPO_TRACE, IsTrace, Trace
28from wrapper import Wrapper 28from wrapper import Wrapper
29 29
30GIT = 'git' 30GIT = 'git'
31MIN_GIT_VERSION = (1, 5, 4) 31# Should keep in sync with the "repo" launcher file.
32MIN_GIT_VERSION = (2, 10, 2)
32GIT_DIR = 'GIT_DIR' 33GIT_DIR = 'GIT_DIR'
33 34
34LAST_GITDIR = None 35LAST_GITDIR = None
diff --git a/repo b/repo
index d6ce48ed..0b870731 100755
--- a/repo
+++ b/repo
@@ -86,7 +86,7 @@ TACbBS+Up3RpfYVfd63c1cDdlru13pQAn3NQy/SN858MkxN+zym86UBgOad2
86""" 86"""
87 87
88GIT = 'git' # our git command 88GIT = 'git' # our git command
89MIN_GIT_VERSION = (1, 7, 2) # minimum supported git version 89MIN_GIT_VERSION = (2, 10, 2) # minimum supported git version
90repodir = '.repo' # name of repo's private directory 90repodir = '.repo' # name of repo's private directory
91S_repo = 'repo' # special repo repository 91S_repo = 'repo' # special repo repository
92S_manifests = 'manifests' # special manifest repository 92S_manifests = 'manifests' # special manifest repository
diff --git a/tests/test_git_command.py b/tests/test_git_command.py
index 51171a32..8d9b5f00 100644
--- a/tests/test_git_command.py
+++ b/tests/test_git_command.py
@@ -35,7 +35,7 @@ class GitCallUnitTest(unittest.TestCase):
35 # We don't dive too deep into the values here to avoid having to update 35 # We don't dive too deep into the values here to avoid having to update
36 # whenever git versions change. We do check relative to this min version 36 # whenever git versions change. We do check relative to this min version
37 # as this is what `repo` itself requires via MIN_GIT_VERSION. 37 # as this is what `repo` itself requires via MIN_GIT_VERSION.
38 MIN_GIT_VERSION = (1, 7, 2) 38 MIN_GIT_VERSION = (2, 10, 2)
39 self.assertTrue(isinstance(ver.major, int)) 39 self.assertTrue(isinstance(ver.major, int))
40 self.assertTrue(isinstance(ver.minor, int)) 40 self.assertTrue(isinstance(ver.minor, int))
41 self.assertTrue(isinstance(ver.micro, int)) 41 self.assertTrue(isinstance(ver.micro, int))