git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] commit-graph-format.txt: fix no-parent value

From
CGConor Davis via GitGitGadget <gitgitgadget@gmail.com>
Date
Sep 15, 2020, 04:03 UTC
Message-ID
<pull.733.git.1600142634326.gitgitgadget@gmail.com>
From: Conor Davis <git@conor.fastmail.fm>
The correct value from commit-graph.c:
    #define GRAPH_PARENT_NONE 0x70000000
Signed-off-by: Conor Davis <git@conor.fastmail.fm>
---
    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 [git@conor.fastmail.fm]
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-733%2Favoidscorn%2Fgraph-parent-none-doc-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-733/avoidscorn/graph-parent-none-doc-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/733
 Documentation/technical/commit-graph-format.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/technical/commit-graph-format.txt b/Documentation/technical/commit-graph-format.txt
index 1beef17182..002a480c9c 100644
--- a/Documentation/technical/commit-graph-format.txt
+++ b/Documentation/technical/commit-graph-format.txt
@@ -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.

base-commit: 47ae905ffb98cc4d4fd90083da6bc8dab55d9ecc
-- 
gitgitgadget
Next: Taylor Blau
Message 1 of 4 in “commit-graph-format.txt: fix no-parent value”
  1. commit-graph-format.txt: fix no-parent valueConor Davis via GitGitGadget, Sep 15, 2020
  2. Taylor BlauSep 15, 2020
  3. Derrick StoleeSep 15, 2020
  4. Conor DavisSep 15, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.