summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2016-04-15 14:21:28 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2016-04-15 16:05:04 +0200
commit3c704c33e0d6c91ecc156d8bcdf260b0c4c23a27 (patch)
tree0cfe7907459b3ff74dd20824077343076006152e /lib
parentc795ef079cde695080ef34444899b77127db6075 (diff)
downloadgitlab-ce-3c704c33e0d6c91ecc156d8bcdf260b0c4c23a27.tar.gz
Delete tags via rugged
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/backend/shell.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/gitlab/backend/shell.rb b/lib/gitlab/backend/shell.rb
index b9bb6e76081..4c6f0d3d681 100644
--- a/lib/gitlab/backend/shell.rb
+++ b/lib/gitlab/backend/shell.rb
@@ -137,19 +137,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