summaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-02-14 12:42:33 -0800
committerJunio C Hamano <gitster@pobox.com>2020-02-14 12:42:33 -0800
commit5cee4ffff8f660a55c342c5ec144b1992df0e805 (patch)
tree1408259beca2f0c1a8fe35798e373277628998d2 /Documentation/technical
parentb907ca76f0897f9a7f070a106c7706fc399509da (diff)
parenteb31044ff793de9a8a093f567f5eb262ac196c24 (diff)
downloadgit-5cee4ffff8f660a55c342c5ec144b1992df0e805.tar.gz
Merge branch 'jb/multi-pack-index-docfix' into maint
Doc fix. * jb/multi-pack-index-docfix: pack-format: correct multi-pack-index description
Diffstat (limited to 'Documentation/technical')
-rw-r--r--Documentation/technical/pack-format.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/technical/pack-format.txt b/Documentation/technical/pack-format.txt
index cab5bdd2ff..d3a142c652 100644
--- a/Documentation/technical/pack-format.txt
+++ b/Documentation/technical/pack-format.txt
@@ -315,10 +315,11 @@ CHUNK DATA:
Stores two 4-byte values for every object.
1: The pack-int-id for the pack storing this object.
2: The offset within the pack.
- If all offsets are less than 2^31, then the large offset chunk
+ If all offsets are less than 2^32, then the large offset chunk
will not exist and offsets are stored as in IDX v1.
If there is at least one offset value larger than 2^32-1, then
- the large offset chunk must exist. If the large offset chunk
+ the large offset chunk must exist, and offsets larger than
+ 2^31-1 must be stored in it instead. If the large offset chunk
exists and the 31st bit is on, then removing that bit reveals
the row in the large offsets containing the 8-byte offset of
this object.