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
if (do_all)
ret = !seen;
else
- ret = (seen == 1) ? 0 : 1;
+ ret = (seen == 1) ? 0 : seen > 1 ? 2 : 1;
free_strings:
if (repo_config)