@matheusbsbs / matheus-bagliano / commits / 753f96a455
Fork 0

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>

Junio C Hamano committed Dec 13, 2006 at 10:55 UTC 753f96a455534ad60b670376fb3d89179281e541
1 file changed +2 -2
builtin-branch.c
+2 -2
@@ -23,8 +23,8 @@ static char branch_colors[][COLOR_MAXLEN] = {
23 "\033[m", /* reset */
24 "", /* PLAIN (normal) */
25 "\033[31m", /* REMOTE (red) */
26 - "\033[32m", /* LOCAL (green) */
27 - "\033[1;32m", /* CURRENT (boldgreen) */
26 + "", /* LOCAL (normal) */
27 + "\033[32m", /* CURRENT (green) */
28 };
29 enum color_branch {
30 COLOR_BRANCH_RESET = 0,