[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
MergeRequest
currently has amerge_commit_message
method that is used if nocommit_message
is provided to the merge endpoint. This method is also exposed to the frontend through theMergeRequest
entity. We can add asquash_commit_message
method onMergeRequest
and expose that too. — @DouweM in https://gitlab.com/gitlab-org/gitlab-ce/issues/47149#note_128929565