make color.ui default to 'auto'
[gitweb.git] / builtin / config.c
index 057bb6127d275d67ee0a3e9c708d788d9a7cdcd3..753449fe5c0382d07dc7b80603dcfd235c34982a 100644 (file)
@@ -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);