Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
parse_color: refactor color storage
[gitweb.git]
/
grep.c
diff --git
a/grep.c
b/grep.c
index 99217dc04f5d04c761f094069f1053cb090baaf1..4dc31ea38656f72c51bae96155053cd1cd0f6d64 100644
(file)
--- a/
grep.c
+++ b/
grep.c
@@
-111,7
+111,7
@@
int grep_config(const char *var, const char *value, void *cb)
if (color) {
if (!value)
return config_error_nonbool(var);
-
color_parse(value, var
, color);
+
return color_parse(value
, color);
}
return 0;
}