[PATCH] color: set color.ui to auto by default
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- May 16, 2013, 13:04 UTC
- Message-ID
- <1368709468-18610-1-git-send-email-artagnon@gmail.com>
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 <artagnon@gmail.com> --- 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