Merge branch 'master' of github.com:gitlabhq/gitlabhq

This commit is contained in:
Dmitriy Zaporozhets 2012-04-04 01:03:41 +03:00
commit 863e5eb7d6

View file

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