]> git.ipfire.org Git - thirdparty/git.git/blobdiff - fast-import.c
csum-file: rename hashclose() to finalize_hashfile()
[thirdparty/git.git] / fast-import.c
index 0f818cd9328d182b44649a130645a871eb63cfb5..1b58fca9f0ee21be8988d225bf76d6d4b1190e66 100644 (file)
@@ -1016,7 +1016,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);