summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorChristian Taedcke <hacking@taedcke.com>2014-07-01 21:54:19 +0200
committerChristian Taedcke <hacking@taedcke.com>2014-07-01 21:54:19 +0200
commitc1b7e904ff0b744b54bc31a828abb7409232fedf (patch)
treeffe476ca502fcdd09ba0635cfef1899d81cde6d8 /app
parent4e1f9e2b8b14eeaabc8f2a779acc8c9d94f538f5 (diff)
downloadgitlab-ce-c1b7e904ff0b744b54bc31a828abb7409232fedf.tar.gz
Add a mention of the merge request into its default commit message.
Diffstat (limited to 'app')
-rw-r--r--app/models/merge_request.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/merge_request.rb b/app/models/merge_request.rb
index 676a57fa3d5..597e02d498b 100644
--- a/app/models/merge_request.rb
+++ b/app/models/merge_request.rb
@@ -293,6 +293,8 @@ class MergeRequest < ActiveRecord::Base
message << title.to_s
message << "\n\n"
message << description.to_s
+ message << "\n\n"
+ message << "See merge request !#{iid}"
message
end