diff unfold

This commit is contained in:
skv
2014-08-14 15:48:14 +04:00
parent fdd8e45075
commit 4e40800166
17 changed files with 164 additions and 15 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ module Gitlab
line_new = line.match(/\+[0-9]*/)[0].to_i.abs rescue 0
next if line_old == 1 && line_new == 1 #top of file
yield(full_line, type, nil, nil, nil)
yield(full_line, type, nil, line_new, line_old)
next
else
type = identification_type(line)