Force diff line to UTF-8 encoding - proper fix.

This commit is contained in:
Denis Novikov 2012-04-03 18:43:07 +02:00
parent c40c627a3b
commit 8abaf05aa9

View file

@ -67,7 +67,7 @@ module CommitsHelper
line_new = line.match(/\+[0-9]*/)[0].to_i.abs rescue 0
next if line_old == 1 && line_new == 1
yield(line, type, nil, nil, nil)
yield(full_line, type, nil, nil, nil)
next
else
type = diff_line_class(line)