Missing description when MR is created from email
Summary
!13817 (merged) added basic support for a creating merge request from email. Merge request description and title are taken from the last commit in the source branch if possible, this works fine if there is only single commit in the source branch. But if the source branch contains more than one commits then merge request description is left empty.
It would be better to use message body for MR description if possible. Only if message body is empty we try to set it from the single commit in MR.
The fix should be quite easy - just add message body as description
param in merge_request_params
: https://gitlab.com/gitlab-org/gitlab-ce/blob/10-3-stable/lib/gitlab/email/handler/create_merge_request_handler.rb#L57
Steps to reproduce
Create a branch with more than 1 commit, then create a merge request from email with this source branch.
What is the current bug behavior?
MR description is empty.
What is the expected correct behavior?
MR description contains message body.