0001-fixed-a-bug-if-there-are-no-fix-keywords-there-will-.patch
| plugins/issue_id/lib/issue_changeset_patch.rb | ||
|---|---|---|
| 39 | 39 |
return if comments.blank? |
| 40 | 40 |
ref_keywords = Setting.commit_ref_keywords.downcase.split(',').collect(&:strip)
|
| 41 | 41 |
ref_keywords_any = ref_keywords.delete('*')
|
| 42 |
fix_keywords = Setting.commit_fix_keywords.downcase.split(',').collect(&:strip)
|
|
| 42 |
fix_keywords = Setting.commit_update_keywords_array.map {|r| r['keywords']}.flatten.compact # as in redmine 2.5.1
|
|
| 43 | 43 |
kw_regexp = (ref_keywords + fix_keywords).collect{ |kw| Regexp.escape(kw) }.join('|')
|
| 44 | 44 |
referenced_issues = [] |
| 45 | 45 | |
| 46 |
- |
|