BigW Consortium Gitlab

Commit 5b18f733 by Jacob Vosmaer

Indirectly migrate count_commits_between to Gitaly

parent a87cca5f
......@@ -379,7 +379,7 @@ module Gitlab
# Counts the amount of commits between `from` and `to`.
def count_commits_between(from, to)
commits_between(from, to).size
Commit.between(self, from, to).size
end
# Returns the SHA of the most recent common ancestor of +from+ and +to+
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment