]> git.99rst.org Git - git.git/commit
pack-bitmap.c: teach `show_objects_for_type()` about incremental MIDXs
authorTaylor Blau <redacted>
Thu, 20 Mar 2025 17:56:40 +0000 (13:56 -0400)
committerJunio C Hamano <redacted>
Fri, 21 Mar 2025 11:33:45 +0000 (04:33 -0700)
commitf77dbf028510100ae7334c3d0e8fbd80a725e303
tree2b5625d5160170ff7d181c60490b164c7aca2a36
parentae61324f0a6124534a245b70d55d63b5abf3e5d4
pack-bitmap.c: teach `show_objects_for_type()` about incremental MIDXs

Since we may ask for a pack_id that is in an earlier MIDX layer relative
to the one corresponding to our bitmap, use nth_midxed_pack() instead of
accessing the ->packs array directly.

Signed-off-by: Taylor Blau <redacted>
Acked-by: Elijah Newren <redacted>
Signed-off-by: Junio C Hamano <redacted>
pack-bitmap.c
git clone https://git.99rst.org/PROJECT