branch --color: change default color selection.
authorJunio C Hamano <junkio@cox.net>
Wed, 13 Dec 2006 18:55:21 +0000 (10:55 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 13 Dec 2006 18:55:21 +0000 (10:55 -0800)
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>
builtin-branch.c
index 7c87b8d5793ce2ebd12f468cd747cb442a200820..d1c243d372c09e1b664ae8e9b29398341767f8c8 100644 (file)
@@ -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,