show color hints based on state of the git tree
commit9b7e776c0a5e6e90601badf175ad034ada5a230e
authorSimon Oosthoek <s.oosthoek@xs4all.nl>
Wed, 10 Oct 2012 19:32:24 +0000 (10 21:32 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Oct 2012 18:26:14 +0000 (11 11:26 -0700)
tree80b47dd4e98472f23ff4aed69506527b77ee5183
parent1bfc51ac814125de03ddf1900245e42d6ce0d250
show color hints based on state of the git tree

By setting GIT_PS1_SHOW_COLORHINTS when using __git_ps1
as PROMPT_COMMAND, you will get color hints in addition to
a different character (*+% etc.) to indicate the state of
the tree.

Signed-off-by: Simon Oosthoek <s.oosthoek@xs4all.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-prompt.sh