summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorLuke Howell <luke.howell@gmail.com>2016-09-01 14:52:43 +0000
committerLuke Howell <luke.howell@gmail.com>2016-09-01 14:06:45 -0500
commit0ee5efbd20bf99385183618dc0bcf74deaa20075 (patch)
tree7708c9689ec6e4cff7b84294132bbcf21ff401a7 /app/services
parenta4c56a2b895f1313c09f1f029745395c4563763c (diff)
downloadgitlab-ce-0ee5efbd20bf99385183618dc0bcf74deaa20075.tar.gz
Prepend blank line to close message on merge request
- Added an extra new line to the prepend of the Close message Fixes #21710
Diffstat (limited to 'app/services')
-rw-r--r--app/services/merge_requests/build_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/merge_requests/build_service.rb b/app/services/merge_requests/build_service.rb
index 290742f1506..e57791f6818 100644
--- a/app/services/merge_requests/build_service.rb
+++ b/app/services/merge_requests/build_service.rb
@@ -83,7 +83,7 @@ module MergeRequests
closes_issue = "Closes ##{iid}"
if merge_request.description.present?
- merge_request.description += closes_issue.prepend("\n")
+ merge_request.description += closes_issue.prepend("\n\n")
else
merge_request.description = closes_issue
end