summaryrefslogtreecommitdiffstats
path: root/pack-bitmap.h
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2024-08-27 23:13:27 +0200
committerJunio C Hamano <gitster@pobox.com>2024-08-27 23:50:26 +0200
commitbbc393a9f3acc689f611fd602499064a2fe27d1a (patch)
tree0232cf1c8db69180fbc262daaa18e21086580a30 /pack-bitmap.h
parentSync with 'maint' (diff)
downloadgit-bbc393a9f3acc689f611fd602499064a2fe27d1a.tar.xz
git-bbc393a9f3acc689f611fd602499064a2fe27d1a.zip
t/t5332-multi-pack-reuse.sh: verify pack generation with --strict
In our tests for multi-pack reuse, we have two helper functions: - test_pack_objects_reused_all(), and - test_pack_objects_reused() which invoke pack-objects (either with `--all`, or the supplied tips via stdin, respectively) and ensure that (a) the number of reused objects, and (b) the number of packs which those objects were reused from both match the expected values. Both functions discard the output of pack-objects and assert only on the contents of the trace2 stream. However, if we store the pack and attempt to index it with `--strict`, we find that a number of our tests are broken, indicating a bug within multi-pack reuse. That bug will be addressed in a subsequent commit. But let's first harden these tests by trying to index the resulting pack, marking the tests which fail appropriately. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-bitmap.h')
0 files changed, 0 insertions, 0 deletions