• Sean McGivern's avatar
    Don't allow merges with new commits · f680eca9
    Sean McGivern authored
    Set a `sha` parameter on the MR form. If this doesn't match the HEAD of
    the source branch when the form is submitted, show a warning (like with
    a merge conflict) and don't merge the branch.
    f680eca9
merge_requests_controller.rb 10.9 KB