BigW Consortium Gitlab

Commit 30b72919 by Dmitriy Zaporozhets

Merge branch 'reference_merge_request_in_commit_message' into 'master'

Add reference to the merge request in the default merge request commit message This adds a link to the merge request to the merge request commit. If merge requests are used for code review, the merge in git is now linked to the code review. See http://feedback.gitlab.com/forums/176466-general/suggestions/6088000-in-the-default-merge-request-commit-message-add-a
parents 119b0287 c1b7e904
......@@ -7,6 +7,7 @@ v 7.1.0
- Add @all mention for comments
- Dont show reply button if user is not signed in
- 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
- The CPU no longer overheats when you hold down the spacebar
......
......@@ -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
......
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