Skip to content

Fix new merge request branch validation check

Phil Hughes requested to merge ph/465287/newMergeRequestBranchCheck into master

What does this MR do and why?

Before this change the branch validation would check commits which allowed merge requests to be created from commits. However the UI would not correctly show the diff for the commit.

#465287

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports