diff options
Diffstat (limited to 'lib/gitlab_projects.rb')
-rw-r--r-- | lib/gitlab_projects.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb index 82ae519..0744317 100644 --- a/lib/gitlab_projects.rb +++ b/lib/gitlab_projects.rb @@ -65,7 +65,7 @@ class GitlabProjects def rm_branch branch_name = ARGV.shift - cmd = %W(git --git-dir=#{full_path} branch -D #{branch_name}) + cmd = %W(git --git-dir=#{full_path} branch -D -- #{branch_name}) system(*cmd) end @@ -83,7 +83,7 @@ class GitlabProjects def rm_tag tag_name = ARGV.shift - cmd = %W(git --git-dir=#{full_path} tag -d #{tag_name}) + cmd = %W(git --git-dir=#{full_path} tag -d -- #{tag_name}) system(*cmd) end |