Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-10-09 02:44:18 +0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-10-10 20:26:32 +0300
commit06e7eeb1c22bf380ad8f3d35581ed63132adf5d6 (patch)
tree694c4961516c07024f5c39ae45a3fc8311553272 /lib/gitlab/git/repository.rb
parent9ac5338b8eb361927ad068486398b92acb0c287e (diff)
Use Gitaly's RepositoryService.HasLocalBranches RPC
Diffstat (limited to 'lib/gitlab/git/repository.rb')
-rw-r--r--lib/gitlab/git/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb
index 0f059bef808..fa13920a3f3 100644
--- a/lib/gitlab/git/repository.rb
+++ b/lib/gitlab/git/repository.rb
@@ -193,7 +193,7 @@ module Gitlab
def has_local_branches?
gitaly_migrate(:has_local_branches) do |is_enabled|
if is_enabled
- gitaly_ref_client.has_local_branches?
+ gitaly_repository_client.has_local_branches?
else
has_local_branches_rugged?
end