X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-update-index.c;h=9e0d7ab11ee01c6a1def223820038a94113f348c;hb=61fb0b75d138032c7600fe86640897b900f2fd4f;hp=d4c85c0cbc6fec3d526cc57d8b748b1f1a82b9a1;hpb=b84c343c885b8168047b2773b5c597d04337d9bd;p=git.git diff --git a/builtin-update-index.c b/builtin-update-index.c index d4c85c0cb..9e0d7ab11 100644 --- a/builtin-update-index.c +++ b/builtin-update-index.c @@ -567,7 +567,7 @@ int cmd_update_index(int argc, const char **argv, const char *prefix) int lock_error = 0; struct lock_file *lock_file; - git_config(git_default_config); + git_config(git_default_config, NULL); /* We can't free this memory, it becomes part of a linked list parsed atexit() */ lock_file = xcalloc(1, sizeof(struct lock_file));