summaryrefslogtreecommitdiff
path: root/builtin-clone.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin-clone.c')
-rw-r--r--builtin-clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-clone.c b/builtin-clone.c
index 2a3f6732f2..4740b13067 100644
--- a/builtin-clone.c
+++ b/builtin-clone.c
@@ -418,7 +418,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
if (option_reference)
setup_reference(git_dir);
- git_config(git_default_config);
+ git_config(git_default_config, NULL);
if (option_bare) {
strcpy(branch_top, "refs/heads/");