pack-bitmap: drop redundant args from bitmap_writer_finish()

In a similar fashion as the previous commit, drop a redundant argument
from the `bitmap_writer_finish()` function.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Taylor Blau
2024-08-15 13:31:08 -04:00
committed by Junio C Hamano
parent f00dda4849
commit 11a08e8332
4 changed files with 6 additions and 8 deletions

View File

@ -1370,7 +1370,7 @@ static void write_pack_file(void)
if (bitmap_writer_build(&bitmap_writer) < 0)
die(_("failed to write bitmap index"));
bitmap_writer_finish(&bitmap_writer,
written_list, nr_written,
written_list,
tmpname.buf, write_bitmap_options);
bitmap_writer_free(&bitmap_writer);
write_bitmap_index = 0;