Creation of MR keeps adding 'Closes: issue'
Summary
Creation of merge request keeps adding "Closes: someissue"
Steps to reproduce
- Create a commit with msg: "ZS-12345: Did something"
- Push the commit and create a merge request
- That the "Closes ZS-12345" is added to the description.
Example Project
The Zaaksysteem project: https://gitlab.com/zaaksysteem/zaaksysteem
What is the current bug behavior?
It adds data to my commit which I do not want, I need to edit every single commit MR
What is the expected correct behavior?
Don't add data to my commit message, I do not need to edit every single commit MR
Possible fixes
In app/models/merge_request.rb
817 if !include_description && closes_issues_references.present?
818 message << "Closes #{closes_issues_references.to_sentence}"
819 end