Skip to content

Commit

Permalink
Merge pull request #69 from igas/fix-macos-git-detection
Browse files Browse the repository at this point in the history
Fixes #68
  • Loading branch information
Kentzo authored Dec 7, 2018
2 parents c429996 + 4e64015 commit 27f6321
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 27f6321

Please sign in to comment.