Defect #7618 » unified_diff.rb.diff
lib/redmine/unified_diff.rb | ||
---|---|---|
28 | 28 |
diff_table = DiffTable.new(diff_type) |
29 | 29 |
diff.each do |line| |
30 | 30 |
unless diff_table.add_line line |
31 |
self << diff_table if diff_table.length > 1
|
|
31 |
self << diff_table |
|
32 | 32 |
diff_table = DiffTable.new(diff_type) |
33 | 33 |
end |
34 | 34 |
lines += 1 |