robbyrussell/oh-my-zsh — pull request #898 by cruser42 (2012-02-01 03:42:54+00:00)
Title: Fix for Issue #896

I've modified parse_git_dirty() in lib/git.zsh to only use the "--ignore-submodules=dirty" syntax if the installed version of git is at least 1.7.2.

I added a function git_compare_version to the same file. It prints 1 if the installed git version is >= to the input version.