]> git.ipfire.org Git - thirdparty/git.git/commit - midx.h
pack-bitmap: read multi-pack bitmaps
authorTaylor Blau <me@ttaylorr.com>
Tue, 31 Aug 2021 20:52:21 +0000 (16:52 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Sep 2021 20:56:43 +0000 (13:56 -0700)
commit0f533c728418fd3ef6ebcae5240e8df566cdaa72
tree3b05aacecd6a5041b6f9bc165e7dd438830f393f
parenta5f9f24aa0588621770df7f45a48615e238d8e17
pack-bitmap: read multi-pack bitmaps

This prepares the code in pack-bitmap to interpret the new multi-pack
bitmaps described in Documentation/technical/bitmap-format.txt, which
mostly involves converting bit positions to accommodate looking them up
in a MIDX.

Note that there are currently no writers who write multi-pack bitmaps,
and that this will be implemented in the subsequent commit. Note also
that get_midx_checksum() and get_midx_filename() are made non-static so
they can be called from pack-bitmap.c.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-objects.c
midx.c
midx.h
pack-bitmap-write.c
pack-bitmap.c
pack-bitmap.h
packfile.c