diff options
Diffstat (limited to 'repo-config.c')
-rw-r--r-- | repo-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repo-config.c b/repo-config.c index 743f02b7d..c7ed0ac9c 100644 --- a/repo-config.c +++ b/repo-config.c @@ -118,7 +118,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) |