]> git.99rst.org Git - git.git/commit
pack-bitmap: drop redundant args from `bitmap_writer_build_type_index()`
authorTaylor Blau <redacted>
Thu, 15 Aug 2024 17:31:03 +0000 (13:31 -0400)
committerJunio C Hamano <redacted>
Thu, 15 Aug 2024 18:20:24 +0000 (11:20 -0700)
commit125ee4ae80e3661c3208fc1c8db0c619e5f625d2
tree9d6a990388e8e99884c77fe18081db937395c6c8
parent01e9d129396e98b611bff2ae82bb3d610b28c588
pack-bitmap: drop redundant args from `bitmap_writer_build_type_index()`

The previous commit ensures that the bitmap_writer's "to_pack" field is
initialized early on, so the "to_pack" and "index_nr" arguments to
`bitmap_writer_build_type_index()` are redundant.

Drop them and adjust the callers accordingly.

Signed-off-by: Taylor Blau <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/pack-objects.c
midx-write.c
pack-bitmap-write.c
pack-bitmap.h
git clone https://git.99rst.org/PROJECT