@matheusbsbs / matheus-bagliano / commits / e40e936551
Fork 0

commit-graph-format.txt: fix no-parent value

The correct value from commit-graph.c: #define GRAPH_PARENT_NONE 0x70000000 Signed-off-by: Conor Davis <git@conor.fastmail.fm> Reviewed-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Conor Davis committed Sep 15, 2020 at 04:03 UTC e40e9365510fc3d2decc91bd0939c2f520d2a7d6
1 file changed +1 -1
Documentation/technical/commit-graph-format.txt
+1 -1
@@ -77,7 +77,7 @@ CHUNK DATA:
77 Commit Data (ID: {'C', 'D', 'A', 'T' }) (N * (H + 16) bytes)
78 * The first H bytes are for the OID of the root tree.
79 * The next 8 bytes are for the positions of the first two parents
80 - of the ith commit. Stores value 0x7000000 if no parent in that
80 + of the ith commit. Stores value 0x70000000 if no parent in that
81 position. If there are more than two parents, the second value
82 has its most-significant bit on and the other bits store an array
83 position into the Extra Edge List chunk.