summaryrefslogtreecommitdiff
path: root/t/unit-tests/t-urlmatch-normalization.c
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2025-03-20 13:56:34 -0400
committerJunio C Hamano <gitster@pobox.com>2025-03-21 04:33:36 -0700
commitf31a17cea5f6f66436e20f5dcefb6a0464238864 (patch)
tree763c896354c0f7eeb51634208b37f709faaeaa03 /t/unit-tests/t-urlmatch-normalization.c
parent8331c17b7961736ac69b74d26af579048ad77866 (diff)
pack-bitmap.c: open and store incremental bitmap layers
Prepare the pack-bitmap machinery to work with incremental MIDXs by adding a new "base" field to keep track of the bitmap index associated with the previous MIDX layer. The changes in this commit are mostly boilerplate to open the correct bitmap(s), add them to the chain of bitmap layers along the "base" pointer, ensure that the correct packs and their reverse indexes are loaded across MIDX layers, etc. While we're at it, keep track of a base_nr field to indicate how many bitmap layers (including the current bitmap) exist. This will be used in a future commit to allocate an array of 'struct ewah_bitmap' pointers to collect all of the respective type bitmaps among all layers to initialize a multi-EWAH iterator. Subsequent commits will teach the functions within the pack-bitmap machinery how to interact with these new fields. Signed-off-by: Taylor Blau <me@ttaylorr.com> Acked-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/t-urlmatch-normalization.c')
0 files changed, 0 insertions, 0 deletions