diff options
author | Taylor Blau <me@ttaylorr.com> | 2024-08-15 19:31:08 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-15 20:23:15 +0200 |
commit | 11a08e8332762ad0a56c7a92701d85d0d04f94a7 (patch) | |
tree | 4fc70b80b0bdaf742a5a2a46d2c3491ef9851c11 /midx-write.c | |
parent | pack-bitmap: drop redundant args from `bitmap_writer_build()` (diff) | |
download | git-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.c | 3 |
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); |