diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2019-06-12 06:29:44 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-12 11:20:54 -0700 |
commit | f998d542260ec643875e7f0fa860dbb43c2388ca (patch) | |
tree | 0aef6f05907b92eabf32248218076c08e08fc400 /builtin/commit.c | |
parent | 014e3440f524a620fd8aba92f1efeac737d9c23d (diff) |
commit-graph: extract copy_oids_to_commits()
The write_commit_graph() method is too complex, so we are
extracting helper functions one by one.
Extract copy_oids_to_commits(), which fills the commits list
with the distinct commits from the oids list. During this loop,
it also counts the number of "extra" edges from octopus merges.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions