zshrc: fix problems in vcs_info wrt older git versions
authorFrank Terbeck <ft@bewatermyfriend.org>
Sun, 7 Feb 2010 17:07:10 +0000 (18:07 +0100)
committerFrank Terbeck <ft@bewatermyfriend.org>
Sun, 7 Feb 2010 17:07:20 +0000 (18:07 +0100)
commit85d167395b54475847233b5a1c5edb81c1760bec
treebaa5bc2057e0c043b06ba2f2181fd95b8902f517
parent6fbaca3963411d1ce818e61e114be4daed3860d6
zshrc: fix problems in vcs_info wrt older git versions

When rebases conflict and create a directory .dotest/, the branch name
ended up empty and that caused the git backend to abort collecting data
and return an error code.

That caused vcs_info to set up everything as if no version control
system controlled the directory.

Reported by Timo Boettcher, Thanks!
debian/changelog
etc/zsh/zshrc