diff options
author | Rémy Coutable <remy@rymai.me> | 2016-04-15 14:42:05 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-04-15 14:42:05 +0000 |
commit | 8b7bf2a0e0fb4ec5765f0b1da74a121a82659113 (patch) | |
tree | 9fde62a444b411c5f9d7cc848493574e68b8d880 /lib | |
parent | 2ac0050bce040cb8b6b9caf02af6904c17c0900c (diff) | |
parent | 3c704c33e0d6c91ecc156d8bcdf260b0c4c23a27 (diff) | |
download | gitlab-ce-8b7bf2a0e0fb4ec5765f0b1da74a121a82659113.tar.gz |
Merge branch 'rugged-delete-tag' into 'master'
Delete tags via rugged
Improve the performance by directly using rugged instead of shelling out to a git operation.
See merge request !3748
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/backend/shell.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/gitlab/backend/shell.rb b/lib/gitlab/backend/shell.rb index 0c3dbc744b5..4ceea2ab221 100644 --- a/lib/gitlab/backend/shell.rb +++ b/lib/gitlab/backend/shell.rb @@ -110,19 +110,6 @@ module Gitlab Gitlab::Utils.system_silent(cmd) end - # Remove repository tag - # - # path - project path with namespace - # tag_name - tag name to remove - # - # Ex. - # rm_tag("gitlab/gitlab-ci", "v4.0") - # - def rm_tag(path, tag_name) - Gitlab::Utils.system_silent([gitlab_shell_projects_path, 'rm-tag', - "#{path}.git", tag_name]) - end - # Gc repository # # path - project path with namespace |