Commit c1b7e904 authored by Christian Taedcke's avatar Christian Taedcke

Add a mention of the merge request into its default commit message.

parent 4e1f9e2b
...@@ -7,6 +7,7 @@ v 7.1.0 ...@@ -7,6 +7,7 @@ v 7.1.0
- Add @all mention for comments - Add @all mention for comments
- Dont show reply button if user is not signed in - Dont show reply button if user is not signed in
- Expose more information for issues with webhook - Expose more information for issues with webhook
- Add a mention of the merge request into the default merge request commit message
v 7.0.0 v 7.0.0
- The CPU no longer overheats when you hold down the spacebar - The CPU no longer overheats when you hold down the spacebar
......
...@@ -293,6 +293,8 @@ class MergeRequest < ActiveRecord::Base ...@@ -293,6 +293,8 @@ class MergeRequest < ActiveRecord::Base
message << title.to_s message << title.to_s
message << "\n\n" message << "\n\n"
message << description.to_s message << description.to_s
message << "\n\n"
message << "See merge request !#{iid}"
message message
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment