fix Merge request reference in merge commit is not global

This commit is contained in:
haseeb 2017-08-13 12:58:19 +05:30
parent 2b950014c3
commit df948f8ac2

View file

@ -682,9 +682,9 @@ class MergeRequest < ActiveRecord::Base
if !include_description && closes_issues_references.present?
message << "Closes #{closes_issues_references.to_sentence}"
end
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")
end