]> git.ipfire.org Git - thirdparty/git.git/commit
pack-bitmap.c: introduce 'bitmap_num_objects()'
authorTaylor Blau <me@ttaylorr.com>
Tue, 31 Aug 2021 20:52:12 +0000 (16:52 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Sep 2021 20:56:43 +0000 (13:56 -0700)
commited184620f5b82a5edd33fa08e93e1ac116138c29
treee4d5459ffed45040bec1fb4dbfade89d74a27d14
parentf57a739691e2efa1d71851cd725154a5a760d8f4
pack-bitmap.c: introduce 'bitmap_num_objects()'

A subsequent patch to support reading MIDX bitmaps will be less noisy
after extracting a generic function to return how many objects are
contained in a bitmap.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-bitmap.c