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

.radio
  = label_tag :project_merge_method_rebase_merge do
    = form.radio_button :merge_method, :rebase_merge, class: "js-merge-method-radio"
    %strong Merge commit with semi-linear history
    %br
    %span.descr
      A merge commit is created for every merge, but merging is only allowed if fast-forward merge is possible.
      This way you could make sure that if this merge request would build, after merging to target branch it would also build.
    %br
    %span.descr
      When fast-forward merge is not possible, the user is given the option to rebase.