diff options
author | Simon Oosthoek <s.oosthoek@xs4all.nl> | 2012-10-16 21:34:05 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-10-16 15:39:21 -0700 |
commit | 9b3aaf8bf19ce2bf5e73b972dce31430e43df8dc (patch) | |
tree | 7f85f0c7c713e33909d4112936348b4587fc379c /t/t5100/patch0013 | |
parent | show color hints based on state of the git tree (diff) | |
download | tgif-9b3aaf8bf19ce2bf5e73b972dce31430e43df8dc.tar.xz |
Fix up colored git-prompt
The main point is to match the colors to be more close to the color
output of "git status -sb".
- the branchname is green, or in red when the HEAD is detached;
- the flags are either red or green for unstaged/staged and the
remaining flags get a different color or none at all.
Signed-off-by: Simon Oosthoek <s.oosthoek@xs4all.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/patch0013')
0 files changed, 0 insertions, 0 deletions