]> git.ipfire.org Git - thirdparty/git.git/commit - commit-graph.c
commit-graph: extract write_commit_graph_file()
authorDerrick Stolee <dstolee@microsoft.com>
Wed, 12 Jun 2019 13:29:45 +0000 (06:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
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 <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit-graph.c