diff options
author | Lidong Yan <yldhome2d2@gmail.com> | 2025-07-12 17:35:16 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-07-14 10:03:03 -0700 |
commit | 937153dece3c2b1e04b0e071298745abd57cd347 (patch) | |
tree | fc5f978a91e4da031e95669314661bb1236eb961 /commit.c | |
parent | 90d5518a7dd53ccc7d967a3a066d688da1d7e214 (diff) |
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 <stolee@gmail.com>
Signed-off-by: Lidong Yan <502024330056@smail.nju.edu.cn>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions