Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
want_color: automatically fallback to color.ui
[gitweb.git]
/
parse-options.c
diff --git
a/parse-options.c
b/parse-options.c
index 73bd28ad90986af1618d82176076133186d045de..12a5b25d09ca8725c7e948192235f3d53b331b18 100644
(file)
--- a/
parse-options.c
+++ b/
parse-options.c
@@
-620,7
+620,7
@@
int parse_opt_color_flag_cb(const struct option *opt, const char *arg,
if (!arg)
arg = unset ? "never" : (const char *)opt->defval;
- value = git_config_colorbool(NULL, arg
, -1
);
+ value = git_config_colorbool(NULL, arg);
if (value < 0)
return opterror(opt,
"expects \"always\", \"auto\", or \"never\"", 0);