summaryrefslogtreecommitdiff
path: root/app/views/projects/_merge_request_fast_forward_settings.html.haml
blob: 8129c72feb218aa9dc3abe004bd3f5cba2b40ce5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
- form = local_assigns.fetch(:form)
- project = local_assigns.fetch(:project)

.radio
  = label_tag :project_merge_method_ff do
    = form.radio_button :merge_method, :ff, class: "js-merge-method-radio"
    %strong Fast-forward merge
    %br
    %span.descr
      No merge commits are created and all merges are fast-forwarded, which means that merging is only allowed if the branch could be fast-forwarded.
    %br
    %span.descr
      When fast-forward merge is not possible, the user is given the option to rebase.