Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
color_parse: do not mention variable name in error message
[gitweb.git]
/
builtin
/
commit.c
diff --git
a/builtin/commit.c
b/builtin/commit.c
index 5a8a29e07534237aee822cdee26f7c7f6a612c02..8dab44d93362553f4a9a55b66ba1d4a947795afd 100644
(file)
--- a/
builtin/commit.c
+++ b/
builtin/commit.c
@@
-1295,8
+1295,7
@@
static int git_status_config(const char *k, const char *v, void *cb)
return 0;
if (!v)
return config_error_nonbool(k);
- color_parse(v, k, s->color_palette[slot]);
- return 0;
+ return color_parse(v, s->color_palette[slot]);
}
if (!strcmp(k, "status.relativepaths")) {
s->relative_paths = git_config_bool(k, v);