GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
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.
Tweaked parse_git_dirty() in lib/git.zsh to support proper dirty/clea…
…n parsing against both git 1.6 and git 1.7+
Merge pull request #1654 from bertag/parse-git-dirty-support-for-1.6
parse_git_dirty() support for Git 1.6