t/helper/test-read-midx.c: add '--show-objects'
commit86d174b7246b634ddb991d67e1ee4575fcc8d1e4
authorTaylor Blau <me@ttaylorr.com>
Tue, 30 Mar 2021 15:04:07 +0000 (30 11:04 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Mar 2021 19:16:56 +0000 (30 12:16 -0700)
tree333113bdf495caf0e5e6388bc493a6c393a42331
parentcd57bc41bbcc8d260040243946d19075eff0bfaf
t/helper/test-read-midx.c: add '--show-objects'

The 'read-midx' helper is used in places like t5319 to display basic
information about a multi-pack-index.

In the next patch, the MIDX writing machinery will learn a new way to
choose from which pack an object is selected when multiple copies of
that object exist.

To disambiguate which pack introduces an object so that this feature can
be tested, add a '--show-objects' option which displays additional
information about each object in the MIDX.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-read-midx.c