Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Git.pm: Kill Git.xs for now
[gitweb.git]
/
builtin-repo-config.c
diff --git
a/builtin-repo-config.c
b/builtin-repo-config.c
index c821e22717e35795b74f1c26d16f6c7da63ebdf8..1d9373977d94f0391c068a5ba13a96e561e21d0b 100644
(file)
--- a/
builtin-repo-config.c
+++ b/
builtin-repo-config.c
@@
-119,7
+119,7
@@
static int get_value(const char* key_, const char* regex_)
if (do_all)
ret = !seen;
else
- ret =
(seen == 1) ? 0
: 1;
+ ret =
(seen == 1) ? 0 : seen > 1 ? 2
: 1;
free_strings:
if (repo_config)