summaryrefslogtreecommitdiff
path: root/doc/user
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2017-12-11 10:14:11 +0100
committerJan Provaznik <jprovaznik@gitlab.com>2017-12-11 11:46:21 +0100
commitb39b5524f28f550420b9833f5dbc4a0c300a0dfb (patch)
tree9005cb4c01231c2d69adeece69bfa0e277aba7e9 /doc/user
parent806a68a81f1baeed07c146b1b5d9eb77796c46ba (diff)
downloadgitlab-ce-b39b5524f28f550420b9833f5dbc4a0c300a0dfb.tar.gz
Use message body for merge request descriptionjprovazn-description
When a merge request is created from email, use message body as merge request description. If message body is empty then merge request description is still created from the source branch commit (if there is only single commit in the merge request). If message body is empty and there are multiple commits in the source branch, then merge request description is left empty. Closes #40968
Diffstat (limited to 'doc/user')
-rw-r--r--doc/user/project/merge_requests/index.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/user/project/merge_requests/index.md b/doc/user/project/merge_requests/index.md
index d76ea259301..b5c3f74a113 100644
--- a/doc/user/project/merge_requests/index.md
+++ b/doc/user/project/merge_requests/index.md
@@ -138,7 +138,8 @@ You can create a new merge request by sending an email to a user-specific email
address. The address can be obtained on the merge requests page by clicking on
a **Email a new merge request to this project** button. The subject will be
used as the source branch name for the new merge request and the target branch
-will be the default branch for the project.
+will be the default branch for the project. The message body (if not empty)
+will be used as the merge request description.
## Revert changes