pack-format: correct multi-pack-index description
commiteb31044ff793de9a8a093f567f5eb262ac196c24
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 7 Feb 2020 22:16:40 +0000 (7 23:16 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Feb 2020 17:01:48 +0000 (10 09:01 -0800)
treebb466fa7428b59a818ddf636ef85218972790a4b
parenta7312d1a28ff3ab0a5a5427b35f01d943103cba8
pack-format: correct multi-pack-index description

The description of the multi-pack-index contains a small bug,
if all offsets are < 2^32 then there will be no LOFF chunk,
not only if they're all < 2^31 (since the highest bit is only
needed as the "LOFF-escape" when that's actually needed.)

Correct this, and clarify that in that case only offsets up
to 2^31-1 can be stored in the OOFF chunk.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/pack-format.txt