commit-graph: extract write_commit_graph_file()
authorDerrick Stolee <redacted>
Wed, 12 Jun 2019 13:29:45 +0000 (06:29 -0700)
committerJunio C Hamano <redacted>
Wed, 12 Jun 2019 18:20:54 +0000 (11:20 -0700)
commit238def57fe7ba219c9e50094512fff1068ac5413
tree611ffe7c3d976d63ece65c20103abdf49b60bd22
parentf998d542260ec643875e7f0fa860dbb43c2388ca
commit-graph: extract write_commit_graph_file()

The write_commit_graph() method is too complex, so we are
extracting helper functions one by one.

Extract write_commit_graph_file() that takes all of the information
in the context struct and writes the data to a commit-graph file.

Signed-off-by: Derrick Stolee <redacted>
Signed-off-by: Junio C Hamano <redacted>
commit-graph.c
git clone https://git.99rst.org/PROJECT