fix Merge request reference in merge commit is not global
This commit is contained in:
parent
2b950014c3
commit
df948f8ac2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue