Re: [PATCH v6 12/21] commit-graph: verify parent list

2018-06-12 Thread Junio C Hamano
Derrick Stolee writes: > diff --git a/t/t5318-commit-graph.sh b/t/t5318-commit-graph.sh > index 2b9214bc83..9a3481c30f 100755 > --- a/t/t5318-commit-graph.sh > +++ b/t/t5318-commit-graph.sh > @@ -269,6 +269,9 @@ GRAPH_BYTE_OID_LOOKUP_ORDER=$(($GRAPH_OID_LOOKUP_OFFSET + > $HASH_LEN * 8)) > GRAPH

[PATCH v6 12/21] commit-graph: verify parent list

2018-06-08 Thread Derrick Stolee
The commit-graph file stores parents in a two-column portion of the commit data chunk. If there is only one parent, then the second column stores 0x to indicate no second parent. The 'verify' subcommand checks the parent list for the commit loaded from the commit-graph and the one parsed f