diff options
Diffstat (limited to 'git_command.py')
| -rw-r--r-- | git_command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git_command.py b/git_command.py index 9bed799ef..5988cc28f 100644 --- a/git_command.py +++ b/git_command.py @@ -89,7 +89,7 @@ class _GitCall(object): if ver_str.startswith('git version '): _git_version = tuple( map(lambda x: int(x), - ver_str[len('git version '):].strip().split('.')[0:3] + ver_str[len('git version '):].strip().split('-')[0].split('.')[0:3] )) else: print >>sys.stderr, 'fatal: "%s" unsupported' % ver_str |
