commit-graph: parse commit from chosen graph
commitee79705311c190e61ac35d67705d387fdeae8c21
authorDerrick Stolee <dstolee@microsoft.com>
Wed, 27 Jun 2018 13:24:29 +0000 (27 09:24 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Jun 2018 17:27:04 +0000 (27 10:27 -0700)
tree100f986062b5bc7386c4136a55bbd376ed6fbd6d
parent0e3b97cccbec2bd01eae4b3267bf00a9bfb277d8
commit-graph: parse commit from chosen graph

Before verifying a commit-graph file against the object database, we
need to parse all commits from the given commit-graph file. Create
parse_commit_in_graph_one() to target a given struct commit_graph.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit-graph.c