summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2016-06-10 16:43:25 +0100
committerSean McGivern <sean@gitlab.com>2016-06-13 11:05:22 +0100
commitb9977525394ac714e31c1751690c7b993eb8d830 (patch)
treef6530492505b7a2a9c1c8fbd8c35677ab79dbc08 /app/views
parent747a167a2dce3175102e4aff78504c72178cc5a5 (diff)
downloadgitlab-ce-b9977525394ac714e31c1751690c7b993eb8d830.tar.gz
Only show branches for revert / cherry-pick18377-cherry-pick-crashes-when-choosing-a-tag
Tags are immutable, so we can't add a commit to either revert or cherry-pick another commit to them.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/commit/_change.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/_change.html.haml b/app/views/projects/commit/_change.html.haml
index 44ef1fdbbe3..d9b800a4ded 100644
--- a/app/views/projects/commit/_change.html.haml
+++ b/app/views/projects/commit/_change.html.haml
@@ -17,7 +17,7 @@
.form-group.branch
= label_tag 'target_branch', target_label, class: 'control-label'
.col-sm-10
- = select_tag "target_branch", grouped_options_refs, class: "select2 select2-sm js-target-branch"
+ = select_tag "target_branch", project_branches, class: "select2 select2-sm js-target-branch"
- if can?(current_user, :push_code, @project)
.js-create-merge-request-container
.checkbox