From 403c10b2ec98b8afdac96a22afdc036fbe0d7713 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Wed, 26 Mar 2014 17:26:08 +0100 Subject: [PATCH] Git tags can still be deleted through the UI --- app/views/projects/git_hooks/index.html.haml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/projects/git_hooks/index.html.haml b/app/views/projects/git_hooks/index.html.haml index 785f4389b7..8a48b9fe34 100644 --- a/app/views/projects/git_hooks/index.html.haml +++ b/app/views/projects/git_hooks/index.html.haml @@ -15,7 +15,11 @@ .col-sm-10 .checkbox = f.check_box :deny_delete_tag - %span.descr Do not allow users to remove git tags. + %span.descr + Do not allow users to remove git tags with + = succeed '.' do + %code git push + Tags can still be deleted through the web UI. -#.form-group = f.label :force_push_regex, "Force push", class: 'control-label'