diff options
| author | SZEDER Gábor <szeder.dev@gmail.com> | 2020-06-05 13:00:25 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-06-08 12:28:49 -0700 |
| commit | 6141cdfdcbe9e3edf25467582c5f32658ae79f40 (patch) | |
| tree | e4bd71914637d7250f7b55e053545777a9c3ec0f /Documentation/technical/commit-graph-format.txt | |
| parent | cb9daf16db0e9935179fd995785e94c996267268 (diff) | |
| download | git-6141cdfdcbe9e3edf25467582c5f32658ae79f40.tar.gz | |
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>
Diffstat (limited to 'Documentation/technical/commit-graph-format.txt')
| -rw-r--r-- | Documentation/technical/commit-graph-format.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/technical/commit-graph-format.txt b/Documentation/technical/commit-graph-format.txt index 1beef17182..440541045d 100644 --- a/Documentation/technical/commit-graph-format.txt +++ b/Documentation/technical/commit-graph-format.txt @@ -32,7 +32,7 @@ the body into "chunks" and provide a binary lookup table at the beginning of the body. The header includes certain values, such as number of chunks and hash type. -All 4-byte numbers are in network order. +All multi-byte numbers are in network byte order. HEADER: |
