]> git.99rst.org Git - git.git/commit
revision: make helper for pathspec to bloom keyvec
authorLidong Yan <redacted>
Sat, 12 Jul 2025 09:35:16 +0000 (17:35 +0800)
committerJunio C Hamano <redacted>
Mon, 14 Jul 2025 17:03:03 +0000 (10:03 -0700)
commit937153dece3c2b1e04b0e071298745abd57cd347
treefc5f978a91e4da031e95669314661bb1236eb961
parent90d5518a7dd53ccc7d967a3a066d688da1d7e214
revision: make helper for pathspec to bloom keyvec

When preparing to use bloom filters in a revision walk, Git populates a
boom_keyvec with an array of bloom keys for the components of a path.
Before we create the ability to map multiple pathspecs to multiple
bloom_keyvecs, extract the conversion from a pathspec to a bloom_keyvec
into its own helper method. This simplifies the state that persists in
prepare_to_use_bloom_filter() as well as makes the future change much
simpler.

Signed-off-by: Derrick Stolee <redacted>
Signed-off-by: Lidong Yan <redacted>
Signed-off-by: Junio C Hamano <redacted>
revision.c
git clone https://git.99rst.org/PROJECT