summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repo-config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/repo-config.c b/repo-config.c
index 127afd784c..08fc4cc57d 100644
--- a/repo-config.c
+++ b/repo-config.c
@@ -108,7 +108,8 @@ static int get_value(const char* key_, const char* regex_)
int main(int argc, const char **argv)
{
- setup_git_directory();
+ int nongit = 0;
+ setup_git_directory_gently(&nongit);
while (1 < argc) {
if (!strcmp(argv[1], "--int"))