mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
branch --color: change default color selection.
Showing local and remote branches in green and red was simply overkill, as all we wanted was to make it easy to tell them apart (local ones can be built on top by committing, but the remote tracking ones can't). Use plain coloring for local branches and paint remotes in red. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
a1158caead
commit
753f96a455
|
@ -23,8 +23,8 @@ static char branch_colors[][COLOR_MAXLEN] = {
|
|||
"\033[m", /* reset */
|
||||
"", /* PLAIN (normal) */
|
||||
"\033[31m", /* REMOTE (red) */
|
||||
"\033[32m", /* LOCAL (green) */
|
||||
"\033[1;32m", /* CURRENT (boldgreen) */
|
||||
"", /* LOCAL (normal) */
|
||||
"\033[32m", /* CURRENT (green) */
|
||||
};
|
||||
enum color_branch {
|
||||
COLOR_BRANCH_RESET = 0,
|
||||
|
|
Loading…
Reference in a new issue