aboutsummaryrefslogtreecommitdiff
path: root/builtin-branch.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-12-13 10:55:21 -0800
committerJunio C Hamano <junkio@cox.net>2006-12-13 10:55:21 -0800
commit753f96a455534ad60b670376fb3d89179281e541 (patch)
tree4f904dc76f29797bdba2ac1dd21707e6948ed160 /builtin-branch.c
parenta1158caeadec4d48b185068f4120d85423de5970 (diff)
downloadgit-753f96a455534ad60b670376fb3d89179281e541.tar.gz
git-753f96a455534ad60b670376fb3d89179281e541.tar.xz
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>
Diffstat (limited to 'builtin-branch.c')
-rw-r--r--builtin-branch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-branch.c b/builtin-branch.c
index 7c87b8d57..d1c243d37 100644
--- a/builtin-branch.c
+++ b/builtin-branch.c
@@ -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,