commit-graph.c: iteratively verify commit-graph chains
commitf5facaa4653d3bcdb5ad5508e47d0e9a03c2aaa5
authorTaylor Blau <me@ttaylorr.com>
Sat, 8 Jul 2023 00:31:39 +0000 (7 20:31 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Jul 2023 17:02:42 +0000 (10 10:02 -0700)
treed52fb4520137136d1ad3ecc2ebb932a30184733f
parenteb319d6771f5829dc26499af93050350083adc7d
commit-graph.c: iteratively verify commit-graph chains

Now that we have a function which can verify a single layer of a
commit-graph chain, implement `verify_commit_graph()` in terms of
iterating over commit-graphs along their `->base_graph` pointers.

This further prepares us to consolidate the progress output of `git
commit-graph verify`.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Acked-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit-graph.c