Revisit CountDivergingCommit's git rev-list --count --max-count --left-right after comit graphs
In !1023 (merged) we created an RPC to count divergent commits. However, with --max-count, the count is not guaranteed to be accurate since the the rev walk is truncated.
when https://gitlab.com/gitlab-org/gitlab-ce/issues/42349 is merged, we can revisit the CountDivergingCommits
RPC and optimize the query
Edited by John Cai