Allow squashing MRs
I still need to:
-
Handle the case where the *branch is protected (ugh). -
Return early in the squash service when there is only one commit in the MR diff. -
Add this to the API. -
Add documentation. -
Add a changelog entry. -
Add some functional tests. - Backport changes to CE:
-
Repository#mergemethod signature. -
CSS changes for .merge-param-checkbox, removal of&.right aand addition of.modify-merge-commit-link. -
Removal of rightclass from.accept-controlwhich contains the "modify commit message" toggle. -
Moving source branch deletion to its own partial. -
Add early return and comment to that partial in EE. -
MergeRequestsHelper#merge_params. -
MergeService#log_merge_errorprovides the collapsed reference for an MR. -
Add csvbranch totest_env.rb.
-