Introduce new config option for mmap limit.
[gitweb.git] / pack-check.c
index c0caaee0933382f30cc932731e1e387cc9a03c12..491bad2ae4c048c7781e9add1e9ff0a6429a20bc 100644 (file)
@@ -51,7 +51,7 @@ static int verify_packfile(struct packed_git *p)
                offset = find_pack_entry_one(sha1, p);
                if (!offset)
                        die("internal error pack-check find-pack-entry-one");
-               data = unpack_entry_gently(p, offset, type, &size);
+               data = unpack_entry(p, offset, type, &size);
                if (!data) {
                        err = error("cannot unpack %s from %s",
                                    sha1_to_hex(sha1), p->pack_name);