]> git.ipfire.org Git - thirdparty/git.git/commit
commit-graph.c: pass progress to `verify_one_commit_graph()`
authorTaylor Blau <me@ttaylorr.com>
Sat, 8 Jul 2023 00:31:42 +0000 (20:31 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Jul 2023 17:02:43 +0000 (10:02 -0700)
commit7248857b6e74bb989dd067d2ac53605e77764700
treed6dddbeada160905239555fabef5fc53c626b3f5
parentf5facaa4653d3bcdb5ad5508e47d0e9a03c2aaa5
commit-graph.c: pass progress to `verify_one_commit_graph()`

This is the final step to prepare for consolidating the output of `git
commit-graph verify`. Instead of having each call to
`verify_one_commit_graph()` initialize its own progress struct, have the
caller pass one in instead.

This patch does not alter the output of `git commit-graph verify`, but
the next commit will consolidate the output.

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