]> git.ipfire.org Git - thirdparty/git.git/commitdiff
commit-graph-format.txt: fix no-parent value
authorConor Davis <git@conor.fastmail.fm>
Tue, 15 Sep 2020 04:03:53 +0000 (04:03 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Sep 2020 21:34:34 +0000 (14:34 -0700)
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>
Documentation/technical/commit-graph-format.txt

index 1beef171822b7fd8ac7a3a088e831b4045ec561c..002a480c9ce04c889f845be287022fa9f961de15 100644 (file)
@@ -77,7 +77,7 @@ CHUNK DATA:
   Commit Data (ID: {'C', 'D', 'A', 'T' }) (N * (H + 16) bytes)
     * The first H bytes are for the OID of the root tree.
     * The next 8 bytes are for the positions of the first two parents
-      of the ith commit. Stores value 0x7000000 if no parent in that
+      of the ith commit. Stores value 0x70000000 if no parent in that
       position. If there are more than two parents, the second value
       has its most-significant bit on and the other bits store an array
       position into the Extra Edge List chunk.