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 /commit-graph.h | |
| parent | commit-graph: extract count_distinct_commits() (diff) | |
| download | git-f998d542260ec643875e7f0fa860dbb43c2388ca.tar.gz git-f998d542260ec643875e7f0fa860dbb43c2388ca.zip | |
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 'commit-graph.h')
0 files changed, 0 insertions, 0 deletions
