Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixes #174: Compatibility with older Git versions. #175
I'm still testing this locally but wanted to get this out so we could start review.
The first commit is the only functional change: adding a conditional to only use
The second commit is a refactor to encapsulate this functionality and make it a little cleaner to edit in the future.
I've confirmed that this works with both Git 2.1.4 and Git 2.14.1, the oldest and newest releases that you'll typically see in the wild.
@cweagans if this looks good to you and you can merge it, I'll try to test the dev branch in more places, and then maybe we can tag a new release