gitaly_client: Reimplement `#between` via `#list_commits`
What does this MR do and why?
The CommitsBetween RPC call has been deprecated by Gitaly in favor of
ListCommits, which is a much more flexible alternative which allows the
caller to specify a set of revisions and various other parameters.
Reimplement #between
on top of #list_commits
such that Gitaly can
eventually drop CommitsBetween.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.