Skip to content

Commit

Permalink
fix macOS git version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Kapkov committed Dec 1, 2018
1 parent c429996 commit 4e64015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git_archive_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ def get_git_version(cls):
return None

try:
version = output.split()[-1]
version = output.split()[2]
except IndexError:
cls.LOG.warning("Unable to parse Git version \"%s\".", output)
return None
Expand Down

0 comments on commit 4e64015

Please sign in to comment.