@matheusbsbs / matheus-bagliano / commits / 6141cdfdcb
Fork 0

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 <szeder.dev@gmail.com> Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

SZEDER Gábor committed Jun 5, 2020 at 13:00 UTC 6141cdfdcbe9e3edf25467582c5f32658ae79f40
1 file changed +1 -1
Documentation/technical/commit-graph-format.txt
+1 -1
@@ -32,7 +32,7 @@ the body into "chunks" and provide a binary lookup table at the beginning
32 of the body. The header includes certain values, such as number of chunks
33 and hash type.
34
35 -All 4-byte numbers are in network order.
35 +All multi-byte numbers are in network byte order.
36
37 HEADER:
38