summaryrefslogtreecommitdiffstats
path: root/midx-write.c
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2024-08-15 19:31:08 +0200
committerJunio C Hamano <gitster@pobox.com>2024-08-15 20:23:15 +0200
commit11a08e8332762ad0a56c7a92701d85d0d04f94a7 (patch)
tree4fc70b80b0bdaf742a5a2a46d2c3491ef9851c11 /midx-write.c
parentpack-bitmap: drop redundant args from `bitmap_writer_build()` (diff)
downloadgit-11a08e8332762ad0a56c7a92701d85d0d04f94a7.tar.xz
git-11a08e8332762ad0a56c7a92701d85d0d04f94a7.zip
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>
Diffstat (limited to 'midx-write.c')
-rw-r--r--midx-write.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/midx-write.c b/midx-write.c
index 1ccdf0df30..d2d13447af 100644
--- a/midx-write.c
+++ b/midx-write.c
@@ -851,8 +851,7 @@ static int write_midx_bitmap(const char *midx_name,
goto cleanup;
bitmap_writer_set_checksum(&writer, midx_hash);
- bitmap_writer_finish(&writer, index, pdata->nr_objects, bitmap_name,
- options);
+ bitmap_writer_finish(&writer, index, bitmap_name, options);
cleanup:
free(index);