Commit e41bc4dd508666fd8e019a4dc12825e23128a00b
1 parent
84457708
Exists in
master
and in
4 other branches
#173
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/views/commits/_text_file.html.haml
@@ -2,6 +2,7 @@ | @@ -2,6 +2,7 @@ | ||
2 | - line_new = 0 | 2 | - line_new = 0 |
3 | - lines_arr = diff.diff.lines.to_a | 3 | - lines_arr = diff.diff.lines.to_a |
4 | - lines_arr.each do |line| | 4 | - lines_arr.each do |line| |
5 | + - next if line.match(/^--- \/dev\/null/) | ||
5 | - next if line.match(/^--- a/) | 6 | - next if line.match(/^--- a/) |
6 | - next if line.match(/^\+\+\+ b/) | 7 | - next if line.match(/^\+\+\+ b/) |
7 | - if line.match(/^@@ -/) | 8 | - if line.match(/^@@ -/) |