Commit 959b9f69 authored by Sushil Khanchi's avatar Sushil Khanchi 🐨

commit: call client service through repository

--HG--
branch : heptapod-stable
parent ca4e7cc8e1fc
......@@ -139,7 +139,7 @@ def between(repo, base, head)
# are documented here: https://git-scm.com/docs/git-log#_commit_ordering
def find_all(repo, options = {})
wrapped_gitaly_errors do
Gitlab::GitalyClient::CommitService.new(repo).find_all_commits(options)
repo.gitaly_commit_client.find_all_commits(options)
end
end
......
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