Feature #43528 ยป patch.patch
| app/models/changeset.rb | ||
|---|---|---|
| 144 | 144 |
refs = match[3] |
| 145 | 145 |
next unless action.present? || ref_keywords_any |
| 146 | 146 | |
| 147 |
refs.scan(/#(\d+)(\s+@#{TIMELOG_RE})?/o).each do |m|
|
|
| 147 |
refs.scan(/(?:#|RM-)(\d+)(\s+@#{TIMELOG_RE})?/o).each do |m|
|
|
| 148 | 148 |
issue = find_referenced_issue_by_id(m[0].to_i) |
| 149 | 149 |
hours = m[2] |
| 150 | 150 |
if issue && !issue_linked_to_same_commit?(issue) |