summaryrefslogtreecommitdiff
path: root/t/helper
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <stolee@gmail.com>2018-07-12 15:39:31 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-07-20 11:27:28 -0700
commitd7cacf29ccfcb2a33bcd8468f83daf822430f19a (patch)
tree2a554bd2a30108604d533686b430034f74f41286 /t/helper
parentmidx: write object ids in a chunk (diff)
downloadtgif-d7cacf29ccfcb2a33bcd8468f83daf822430f19a.tar.xz
midx: write object id fanout chunk
Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper')
-rw-r--r--t/helper/test-read-midx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/helper/test-read-midx.c b/t/helper/test-read-midx.c
index de6d452a7c..f7c17b0940 100644
--- a/t/helper/test-read-midx.c
+++ b/t/helper/test-read-midx.c
@@ -22,10 +22,12 @@ static int read_midx_file(const char *object_dir)
if (m->chunk_pack_names)
printf(" pack-names");
+ if (m->chunk_oid_fanout)
+ printf(" oid-fanout");
if (m->chunk_oid_lookup)
printf(" oid-lookup");
- printf("\n");
+ printf("\nnum_objects: %d\n", m->num_objects);
printf("packs:\n");
for (i = 0; i < m->num_packs; i++)