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:46 -0400
committerJunio C Hamano <gitster@pobox.com>2025-03-21 04:33:53 -0700
commitfaab03f9a16cbca85415b73504eb95e6b8ed3d6b (patch)
tree03efd9ef09ac36aec73d0146c363c196d9198a3f /t/unit-tests/t-urlmatch-normalization.c
parent3886c7262170e2b7a2ed574ddefda2664695230a (diff)
pack-bitmap.c: teach `rev-list --test-bitmap` about incremental MIDXs
Implement support for the special `--test-bitmap` mode of `git rev-list` when using incremental MIDXs. The bitmap_test_data structure is extended to contain a "base" pointer that mirrors the structure of the bitmap chain that it is being used to test. When we find a commit to test, we first chase down the ->base pointer to find the appropriate bitmap_test_data for the bitmap layer that the given commit is contained within, and then perform the test on that bitmap. In order to implement this, light modifications are made to bitmap_for_commit() to reimplement it in terms of a new function, find_bitmap_for_commit(), which fills out a pointer which indicates the bitmap layer which contains the given commit. 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