heroku/heroku — pull request #1344 by twolfson (2014-12-31 18:57:25+00:00)
Title: Added tests and fixed up logic errors in checking git insecurity

As mentioned in #1341, we have logic errors in the `git` security logic. Since this can get very annoying to users very fast, I decided to add tests. This caught some issues that the patch #1342 didn't catch. In this PR:

- Added tests for `git` security checking
- Added edge case for when `git version` is below `1.8`
- Fixed edge cases when we are at a patch version of `0` (e.g. `2.2`/`2.2.0`)