Merge branch 'tb/format-pack-doc-update'

Doc update.

* tb/format-pack-doc-update:
  Documentation/gitformat-pack.txt: fix incorrect MIDX documentation
  Documentation/gitformat-pack.txt: fix typo
This commit is contained in:
Junio C Hamano
2023-11-08 11:04:00 +09:00

View File

@ -390,10 +390,11 @@ CHUNK LOOKUP:
CHUNK DATA: CHUNK DATA:
Packfile Names (ID: {'P', 'N', 'A', 'M'}) Packfile Names (ID: {'P', 'N', 'A', 'M'})
Stores the packfile names as concatenated, null-terminated strings. Store the names of packfiles as a sequence of NUL-terminated
Packfiles must be listed in lexicographic order for fast lookups by strings. There is no extra padding between the filenames,
name. This is the only chunk not guaranteed to be a multiple of four and they are listed in lexicographic order. The chunk itself
bytes in length, so should be the last chunk for alignment reasons. 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'}) OID Fanout (ID: {'O', 'I', 'D', 'F'})
The ith entry, F[i], stores the number of OIDs with first The ith entry, F[i], stores the number of OIDs with first