diff options
| author | Derrick Stolee <stolee@gmail.com> | 2018-07-12 15:39:30 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-07-20 11:27:28 -0700 |
| commit | 0d5b3a5ef72383f3b6fe93793be3bbd107a88eaa (patch) | |
| tree | 0db83867d4bf65840e8bba0151f38a172ec0eb3f /t | |
| parent | fe1ed56f5e482507b54a4fb491273f122c5fd9ea (diff) | |
| download | git-0d5b3a5ef72383f3b6fe93793be3bbd107a88eaa.tar.xz | |
midx: write object ids in a chunk
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
| -rw-r--r-- | t/helper/test-read-midx.c | 2 | ||||
| -rwxr-xr-x | t/t5319-multi-pack-index.sh | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/t/helper/test-read-midx.c b/t/helper/test-read-midx.c index 76a60d7882..de6d452a7c 100644 --- a/t/helper/test-read-midx.c +++ b/t/helper/test-read-midx.c @@ -22,6 +22,8 @@ static int read_midx_file(const char *object_dir) if (m->chunk_pack_names) printf(" pack-names"); + if (m->chunk_oid_lookup) + printf(" oid-lookup"); printf("\n"); diff --git a/t/t5319-multi-pack-index.sh b/t/t5319-multi-pack-index.sh index e8da082c64..4813610115 100755 --- a/t/t5319-multi-pack-index.sh +++ b/t/t5319-multi-pack-index.sh @@ -7,8 +7,8 @@ midx_read_expect () { NUM_PACKS=$1 { cat <<-EOF && - header: 4d494458 1 1 $NUM_PACKS - chunks: pack-names + header: 4d494458 1 2 $NUM_PACKS + chunks: pack-names oid-lookup packs: EOF if test $NUM_PACKS -ge 1 |
