Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Revert "color: make "always" the same as "auto" in config"
[gitweb.git]
/
color.c
diff --git
a/color.c
b/color.c
index 17e2713f9678fab24d06d0b14db4d73806f3c3cc..7aa8b076f045e5c0b74826153030e2923c0fc56e 100644
(file)
--- a/
color.c
+++ b/
color.c
@@
-308,7
+308,7
@@
int git_config_colorbool(const char *var, const char *value)
if (!strcasecmp(value, "never"))
return 0;
if (!strcasecmp(value, "always"))
- return
var ? GIT_COLOR_AUTO :
1;
+ return 1;
if (!strcasecmp(value, "auto"))
return GIT_COLOR_AUTO;
}