Skip to content

pack-bitmap: use bitmaps for traversals with '--filter=tree:0'

Taylor Blau git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4list-objects-filter: treat NULL filter_options as "disabled"list-objects-filter.c+3 -01 reply
2/4pack-bitmap.c: make object filtering functions genericpack-bitmap.c+24 -111 reply
3/4pack-bitmap.c: support 'tree:0' filteringpack-bitmap.c t/perf/p5310-pack-bitmaps.sh t/t6113-rev-list-bitmap-filters.sh+50 -13 replies
4/4pack-bitmap: pass object filter to fill-in traversalpack-bitmap.c t/perf/p5310-pack-bitmaps.sh+14 -52 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] pack-bitmap: use bitmaps for traversals with '--filter=tree:0'

Hi,

This is a re-submission of mine and Peff's series in [1] to get some more eyes on it. The intent of this series is to take advantage of the type bitmaps when using '--filter=tree:0'.

We have been running these patches at GitHub for a couple of months now to power fetches with '--filter=tree:0' (but no other values of N, patches to come later to address this).

The content of the patches attached are the same as in their original submission; the only change on my part has been to rebase them over the latest from master.

Thanks in advance for your review.

[1]: https://lore.kernel.org/git/[email protected]/

Jeff King (2):
list-objects-filter: treat NULL filter_options as "disabled"
pack-bitmap: pass object filter to fill-in traversal

Taylor Blau (2):
pack-bitmap.c: make object filtering functions generic pack-bitmap.c: support 'tree:0' filtering

 list-objects-filter.c              |  3 ++
 pack-bitmap.c                      | 72 +++++++++++++++++++++++-------
 t/perf/p5310-pack-bitmaps.sh       | 10 +++++
 t/t6113-rev-list-bitmap-filters.sh | 21 +++++++++
 4 files changed, 90 insertions(+), 16 deletions(-)

--
2.26.0.113.ge9739cdccc