]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/index-pack.c
csum-file: rename hashclose() to finalize_hashfile()
[thirdparty/git.git] / builtin / index-pack.c
index 7e3e1a461c4469ea0272d9545d7173e984b1ebf4..ca5a3d024884622cbcfe9ca9fdd28e373fd1c53b 100644 (file)
@@ -1269,7 +1269,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,