Skip to content

Commit 6141cdf

Browse files
szedergitster
authored andcommitted
commit-graph-format.txt: all multi-byte numbers are in network byte order
The commit-graph format specifies that "All 4-byte numbers are in network order", but the commit-graph contains 8-byte integers as well (file offsets in the Chunk Lookup table), and their byte order is unspecified. Clarify that all multi-byte integers are in network byte order. Signed-off-by: SZEDER Gábor <[email protected]> Signed-off-by: Derrick Stolee <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent cb9daf1 commit 6141cdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/technical/commit-graph-format.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ the body into "chunks" and provide a binary lookup table at the beginning
3232
of the body. The header includes certain values, such as number of chunks
3333
and hash type.
3434

35-
All 4-byte numbers are in network order.
35+
All multi-byte numbers are in network byte order.
3636

3737
HEADER:
3838

0 commit comments

Comments
 (0)