DORMANTno replies

[PATCH] color: set color.ui to auto by default

From: Ramkumar Ramachandra <hidden>
Date: 2016-06-15 22:57:17
Subsystem: the rest · Maintainer: Linus Torvalds

This is a good default.  Users who don't want color can look for "color"
in the git-config(1), and turn it off.

Signed-off-by: Ramkumar Ramachandra <redacted>
---
 color.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/color.c b/color.c
index e8e2681..f672885 100644
--- a/color.c
+++ b/color.c
@@ -1,7 +1,7 @@
 #include "cache.h"
 #include "color.h"
 
-static int git_use_color_default = 0;
+static int git_use_color_default = GIT_COLOR_AUTO;
 int color_stdout_is_tty = -1;
 
 /*
-- 
1.8.3.rc2.10.g0c2b1cf.dirty
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help