coloured git-prompt: paint detached HEAD marker in red
commit76c36c02ff3fe1571051ce9278248bd269f8341b
authorJunio C Hamano <gitster@pobox.com>
Wed, 17 Oct 2012 07:44:25 +0000 (17 00:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Oct 2012 07:44:25 +0000 (17 00:44 -0700)
tree014f42789a15f56715d5b0bdbc2aafdb7deaa3b8
parent9b3aaf8bf19ce2bf5e73b972dce31430e43df8dc
coloured git-prompt: paint detached HEAD marker in red

Paint the marker for normal state in green and detached state
in red, instead of the other way around.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-prompt.sh