hvr/trac-git-plugin — pull request #15 by choey (2012-05-23 01:43:48+00:00)
Title: Unpacking "git --version" can throw a ValueError

git --version can return a 4-part message like this:
git version 1.2.3.4 (Apple Git-26)

This breaks the unpacking. It is more reliable to assume that the version part is the 3rd group than assuming that there are exactly 3 groups and the version is the 3rd group.