Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
make color.ui default to 'auto'
[gitweb.git]
/
builtin
/
config.c
diff --git
a/builtin/config.c
b/builtin/config.c
index 057bb6127d275d67ee0a3e9c708d788d9a7cdcd3..753449fe5c0382d07dc7b80603dcfd235c34982a 100644
(file)
--- a/
builtin/config.c
+++ b/
builtin/config.c
@@
-342,7
+342,7
@@
static int get_colorbool(int print)
if (get_colorbool_found < 0)
/* default value if none found in config */
- get_colorbool_found =
0
;
+ get_colorbool_found =
GIT_COLOR_AUTO
;
get_colorbool_found = want_color(get_colorbool_found);