Skip to content

Commit 530a9f1

Browse files
ttaylorrgitster
authored andcommitted
Documentation/gitformat-pack.txt: fix typo
e0d1bcf (multi-pack-index: add format details, 2018-07-12) describes the MIDX's "PNAM" chunk as having entries which are "null-terminated strings". This is a typo, as strings are terminated with a NUL character, which is a distinct concept from "NULL" or "null", which we typically reserve for the void pointer to address 0. Correct the documentation accordingly. Signed-off-by: Taylor Blau <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent fb7d80e commit 530a9f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/gitformat-pack.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ CHUNK LOOKUP:
390390
CHUNK DATA:
391391

392392
Packfile Names (ID: {'P', 'N', 'A', 'M'})
393-
Stores the packfile names as concatenated, null-terminated strings.
393+
Stores the packfile names as concatenated, NUL-terminated strings.
394394
Packfiles must be listed in lexicographic order for fast lookups by
395395
name. This is the only chunk not guaranteed to be a multiple of four
396396
bytes in length, so should be the last chunk for alignment reasons.

0 commit comments

Comments
 (0)