robbyrussell/oh-my-zsh — Issue #896: pull request #764 Ignore submodules dirty in prompt info caused bug
Author: cruser42
Created: 2012-01-31 19:52:57+00:00
State: open

Hi all!,

Git versions before 1.7.2 don't support the '--ignore-submodules' syntax

ref: http://article.gmane.org/gmane.linux.kernel/1007412

It results in an error message.

As a result, no star appears next to the branch name if there are uncommitted changes
The latest pre-packaged version currently available for centos 6.2 is 1.7.1
A check should be added so that the old syntax is used for git versions before 1.7.2

I'm still new to git, but I'll make a pull request for this as soon as I learn how it's done. I'd be very thankful if someone beats me to it!

-Aleksey

P.S.: Thanks for making this great piece of software!!!