diff --git a/builtin-verify-pack.c b/builtin-verify-pack.c
index 4e31c273f48e3983aaf99dc6525982d34b6fed06..4c515a0570ec2b05e5dca8156d885a70b922251e 100644 (file)
--- a/builtin-verify-pack.c
+++ b/builtin-verify-pack.c
if (!pack)
return error("packfile %s not found.", arg);
+ install_packed_git(pack);
err = verify_pack(pack, verbose);
- free(pack);
return err;
}
int no_more_options = 0;
int nothing_done = 1;
- git_config(git_default_config);
+ git_config(git_default_config, NULL);
while (1 < argc) {
if (!no_more_options && argv[1][0] == '-') {
if (!strcmp("-v", argv[1]))