[Backend] Override squash commit message
Backend Issue for: https://gitlab.com/gitlab-org/gitlab-ce/issues/47149
Please refer to the description of the parent issue for up-to-date information.
This issue was created to track Backend weight independently of Frontend.
Some details
MergeRequestcurrently has amerge_commit_messagemethod that is used if nocommit_messageis provided to the merge endpoint. This method is also exposed to the frontend through theMergeRequestentity. We can add asquash_commit_messagemethod onMergeRequestand expose that too. — @DouweM in https://gitlab.com/gitlab-org/gitlab-ce/issues/47149#note_128929565