Always ensure the pack.keep file is removed by git-fetch
[gitweb.git] / builtin-write-tree.c
index 88f34ba7d6e2426fae5169eb28b12e93e72082eb..b89d02efec813d33f8540d2a6d433a94ce1e0a31 100644 (file)
@@ -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"))