remote: remove add_prune_tags_to_fetch_refspec
[gitweb.git] / builtin / index-pack.c
index 78e66b998664ee23244fd9fc9acd33578b9c53c0..a2cd29d8f49586d9683f6ebb83421b45d3fa824d 100644 (file)
@@ -1271,7 +1271,7 @@ static void conclude_pack(int fix_thin_pack, const char *curr_pack, unsigned cha
                            nr_objects - nr_objects_initial);
                stop_progress_msg(&progress, msg.buf);
                strbuf_release(&msg);
-               hashclose(f, tail_hash, 0);
+               finalize_hashfile(f, tail_hash, 0);
                hashcpy(read_hash, pack_hash);
                fixup_pack_header_footer(output_fd, pack_hash,
                                         curr_pack, nr_objects,