gitaly: Convert from CommitsBetween to ListCommits

Gitaly has deprecated the CommitsBetween RPC in favor of ListCommits, which is a more flexible alternative and supports passing arbitrary revisions.

Convert the code to use ListCommits instead such that Gitaly can eventually remove the old RPC call.

Merge request reports

Loading