Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
config: add CONFIG_ERROR_SILENT handler
[gitweb.git]
/
config.c
diff --git
a/config.c
b/config.c
index a1d445ecbf9de640dca7af9215d9028941a75b2a..ce02ceaf982920d53b1be0e3e2c58ba38e732c84 100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-818,6
+818,9
@@
static int git_parse_source(config_fn_t fn, void *data,
case CONFIG_ERROR_ERROR:
error_return = error("%s", error_msg);
break;
+ case CONFIG_ERROR_SILENT:
+ error_return = -1;
+ break;
case CONFIG_ERROR_UNSET:
BUG("config error action unset");
}