diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-06-14 11:00:47 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-06-14 11:00:47 +0300 |
commit | 89095530bc750a780f1f03bc3c6a31c5491418db (patch) | |
tree | 54b22afd054568cae310b64f620ca1736f06044d /lib | |
parent | 4fc46007479784997a90e3b648fd5d4b3ff897ec (diff) |
Tag names returned through Gitaly
Migration: https://gitlab.com/gitlab-org/gitaly/issues/220
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/git/repository.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb index 49e7330618d..6e149984a49 100644 --- a/lib/gitlab/git/repository.rb +++ b/lib/gitlab/git/repository.rb @@ -268,13 +268,7 @@ module Gitlab # Returns an Array of tag names def tag_names - gitaly_migrate(:tag_names, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled| - if is_enabled - gitaly_ref_client.tag_names - else - rugged.tags.map { |t| t.name } - end - end + gitaly_ref_client.tag_names end # Returns an Array of Tags |