Re: [PATCH v4 05/14] commit-graph: add base graphs chunk

2019-06-07 Thread Junio C Hamano
"Derrick Stolee via GitGitGadget" writes: > - 1-byte (reserved for later use) > - Current clients should ignore this value. > + 1-byte number (B) of base commit-graphs > + We infer the length (H*B) of the Base Graphs chunk > + from this value. > > CHUNK LOOKUP: > > @@ -92,6 +

[PATCH v4 05/14] commit-graph: add base graphs chunk

2019-06-06 Thread Derrick Stolee via GitGitGadget
From: Derrick Stolee To quickly verify a commit-graph chain is valid on load, we will read from the new "Base Graphs Chunk" of each file in the chain. This will prevent accidentally loading incorrect data from manually editing the commit-graph-chain file or renaming graph-{hash}.graph files. The