aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/write-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/write-tree.c')
-rw-r--r--builtin/write-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/write-tree.c b/builtin/write-tree.c
index cfec044710..3465c70a48 100644
--- a/builtin/write-tree.c
+++ b/builtin/write-tree.c
@@ -43,7 +43,7 @@ int cmd_write_tree(int argc,
OPT_END()
};
- git_config(git_default_config, NULL);
+ repo_config(the_repository, git_default_config, NULL);
argc = parse_options(argc, argv, cmd_prefix, write_tree_options,
write_tree_usage, 0);