summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2019-06-12 06:29:43 -0700
committerJunio C Hamano <gitster@pobox.com>2019-06-12 11:20:54 -0700
commit014e3440f524a620fd8aba92f1efeac737d9c23d (patch)
treea3b30fdee2caebf08d5560183336b06c6e50ce64 /builtin/commit.c
parentb2c83060525e69f628fb32836e311978e3899e6e (diff)
commit-graph: extract count_distinct_commits()
The write_commit_graph() method is too complex, so we are extracting helper functions one by one. Extract count_distinct_commits(), which sorts the oids list, then iterates through to find duplicates. 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