summaryrefslogtreecommitdiff
path: root/builtin-write-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin-write-tree.c')
-rw-r--r--builtin-write-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-write-tree.c b/builtin-write-tree.c
index 88f34ba7d6..b89d02efec 100644
--- a/builtin-write-tree.c
+++ b/builtin-write-tree.c
@@ -72,6 +72,7 @@ int cmd_write_tree(int argc, const char **argv, const char *unused_prefix)
const char *prefix = NULL;
unsigned char sha1[20];
+ git_config(git_default_config);
while (1 < argc) {
const char *arg = argv[1];
if (!strcmp(arg, "--missing-ok"))