parse_git_dirty() support for Git 1.6 #1654

merged 1 commit into from Apr 8, 2013


None yet

2 participants

bertag commented Mar 11, 2013

Git 1.6 does not support the "Git status -s" option, so directories were always show up dirty on systems stuck on older versions of Git. This is a lightweight patch that tweaks the if/else logic in the parse_git_dirty() function to support for Git 1.6 while retaining support for newer versions.

@robbyrussell robbyrussell merged commit cd55560 into robbyrussell:master Apr 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment