summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrepo1
1 files changed, 1 insertions, 0 deletions
diff --git a/repo b/repo
index 18d0d7f4..d59f0168 100755
--- a/repo
+++ b/repo
@@ -202,6 +202,7 @@ def _CheckGitVersion():
202 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE) 202 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
203 ver_str = proc.stdout.read().strip() 203 ver_str = proc.stdout.read().strip()
204 proc.stdout.close() 204 proc.stdout.close()
205 proc.wait()
205 206
206 if not ver_str.startswith('git version '): 207 if not ver_str.startswith('git version '):
207 print >>sys.stderr, 'error: "%s" unsupported' % ver_str 208 print >>sys.stderr, 'error: "%s" unsupported' % ver_str