summaryrefslogtreecommitdiffstats
path: root/gitformat-pack.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-11-09 02:06:09 +0900
committerJunio C Hamano <gitster@pobox.com>2023-11-09 02:06:09 +0900
commit9f9f4f061623927f068bbd868977da3af0aaf045 (patch)
treea2ccd145b71eb3483f3f8e86b06d27ce650c91a1 /gitformat-pack.txt
parent7a133713b32080684945c44192842ee4781738b8 (diff)
downloadgit-htmldocs-9f9f4f061623927f068bbd868977da3af0aaf045.tar.gz
Autogenerated HTML docs for v2.43.0-rc1
Diffstat (limited to 'gitformat-pack.txt')
-rw-r--r--gitformat-pack.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/gitformat-pack.txt b/gitformat-pack.txt
index 4a4d87e7d..9fcb29a9c 100644
--- a/gitformat-pack.txt
+++ b/gitformat-pack.txt
@@ -390,10 +390,11 @@ CHUNK LOOKUP:
CHUNK DATA:
Packfile Names (ID: {'P', 'N', 'A', 'M'})
- Stores the packfile names as concatenated, null-terminated strings.
- Packfiles must be listed in lexicographic order for fast lookups by
- 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.
+ Store the names of packfiles as a sequence of NUL-terminated
+ strings. There is no extra padding between the filenames,
+ and they are listed in lexicographic order. The chunk itself
+ is padded at the end with between 0 and 3 NUL bytes to make the
+ chunk size a multiple of 4 bytes.
OID Fanout (ID: {'O', 'I', 'D', 'F'})
The ith entry, F[i], stores the number of OIDs with first