summaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorDerrick Stolee <stolee@gmail.com>2018-07-12 19:39:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-07-20 18:27:28 (GMT)
commitd7cacf29ccfcb2a33bcd8468f83daf822430f19a (patch)
tree2a554bd2a30108604d533686b430034f74f41286 /Documentation/technical
parent0d5b3a5ef72383f3b6fe93793be3bbd107a88eaa (diff)
downloadgit-d7cacf29ccfcb2a33bcd8468f83daf822430f19a.zip
git-d7cacf29ccfcb2a33bcd8468f83daf822430f19a.tar.gz
git-d7cacf29ccfcb2a33bcd8468f83daf822430f19a.tar.bz2
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 'Documentation/technical')
-rw-r--r--Documentation/technical/pack-format.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/technical/pack-format.txt b/Documentation/technical/pack-format.txt
index 78ee048..3215f7b 100644
--- a/Documentation/technical/pack-format.txt
+++ b/Documentation/technical/pack-format.txt
@@ -302,6 +302,11 @@ CHUNK DATA:
name. This is the only chunk not guaranteed to be a multiple of four
bytes in length, so should be the last chunk for alignment reasons.
+ OID Fanout (ID: {'O', 'I', 'D', 'F'})
+ The ith entry, F[i], stores the number of OIDs with first
+ byte at most i. Thus F[255] stores the total
+ number of objects.
+
OID Lookup (ID: {'O', 'I', 'D', 'L'})
The OIDs for all objects in the MIDX are stored in lexicographic
order in this chunk.