midx: test a few commands that use get_all_packs
commite9ab2ed7de33a399b44295628e587db6a57bf897
authorDerrick Stolee <dstolee@microsoft.com>
Mon, 20 Aug 2018 16:52:06 +0000 (20 16:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Aug 2018 22:31:40 +0000 (20 15:31 -0700)
tree64eabc41edc4543efbe25366472fdc9822238c8b
parent454ea2e4d7036862e8b2f69ef2dea640f8787510
midx: test a few commands that use get_all_packs

The new get_all_packs() method exposed the packfiles coverede by
a multi-pack-index. Before, the 'git cat-file --batch' and
'git count-objects' commands would skip objects in an environment
with a multi-pack-index.

Further, a reachability bitmap would be ignored if its pack-file
was covered by a multi-pack-index.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5319-multi-pack-index.sh