git-p4: disable-rebase: allow setting this via configuration
[gitweb.git] / fast-import.c
index 05d1079d2380694eb53570ede6eaaed97fc4c8e0..34edf3fb8f9012bf2fcaf231604ebb490e66940c 100644 (file)
@@ -973,7 +973,7 @@ static void end_packfile(void)
                struct tag *t;
 
                close_pack_windows(pack_data);
-               hashclose(pack_file, cur_pack_oid.hash, 0);
+               finalize_hashfile(pack_file, cur_pack_oid.hash, 0);
                fixup_pack_header_footer(pack_data->pack_fd, pack_data->sha1,
                                    pack_data->pack_name, object_count,
                                    cur_pack_oid.hash, pack_size);