]> git.ipfire.org Git - thirdparty/git.git/commit
pack-bitmap: add function to iterate over filtered bitmapped objects
authorPatrick Steinhardt <ps@pks.im>
Wed, 2 Apr 2025 11:13:43 +0000 (13:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Apr 2025 21:43:51 +0000 (14:43 -0700)
commit5420901bde8043a298b8ae5e5b3c3cfc1b67039b
tree0f77f67d5d562723c4bc997ad69747ef857f3935
parent3d45483846368796d12f62d7d15daaa59d9d8a5c
pack-bitmap: add function to iterate over filtered bitmapped objects

Introduce a function that allows the caller to iterate over all
bitmapped objects that match a given filter. This mechanism will be used
in a subsequent commit to optimize object filters in git-cat-file(1).

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-bitmap.c
pack-bitmap.h