diff options
author | Taylor Blau <me@ttaylorr.com> | 2021-08-31 16:52:31 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-01 13:56:43 -0700 |
commit | c51f5a6437c62c5b231a4632896becd545c7e620 (patch) | |
tree | 128bfb7d8ec1d1f79bba3c0394142bad950426d6 /bulk-checkin.h | |
parent | t/helper/test-read-midx.c: add --checksum mode (diff) | |
download | tgif-c51f5a6437c62c5b231a4632896becd545c7e620.tar.xz |
t5326: test multi-pack bitmap behavior
This patch introduces a new test, t5326, which tests the basic
functionality of multi-pack bitmaps.
Some trivial behavior is tested, such as:
- Whether bitmaps can be generated with more than one pack.
- Whether clones can be served with all objects in the bitmap.
- Whether follow-up fetches can be served with some objects outside of
the server's bitmap
These use lib-bitmap's tests (which in turn were pulled from t5310), and
we cover cases where the MIDX represents both a single pack and multiple
packs.
In addition, some non-trivial and MIDX-specific behavior is tested, too,
including:
- Whether multi-pack bitmaps behave correctly with respect to the
pack-reuse machinery when the base for some object is selected from
a different pack than the delta.
- Whether multi-pack bitmaps correctly respect the
pack.preferBitmapTips configuration.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bulk-checkin.h')
0 files changed, 0 insertions, 0 deletions