Skip to content

Handle force_remove_source_branch when creating merge request

Stan Hu requested to merge sh-fix-issue-51220 into master

Creating a merge request with merge_request[force_remove_source_branch] parameter would result in an Error 500 since this attribute was passed directly to the merge request. Fix this by properly parsing this attribute into merge_params.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51220

Merge request reports