Commit df948f8a authored by haseeb's avatar haseeb

fix Merge request reference in merge commit is not global

parent 2b950014
...@@ -682,9 +682,9 @@ class MergeRequest < ActiveRecord::Base ...@@ -682,9 +682,9 @@ class MergeRequest < ActiveRecord::Base
if !include_description && closes_issues_references.present? if !include_description && closes_issues_references.present?
message << "Closes #{closes_issues_references.to_sentence}" message << "Closes #{closes_issues_references.to_sentence}"
end end
message << "#{description}" if include_description && description.present? message << "#{description}" if include_description && description.present?
message << "See merge request #{to_reference}" message << "See merge request #{to_reference(full: true)}"
message.join("\n\n") message.join("\n\n")
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