From e41bc4dd508666fd8e019a4dc12825e23128a00b Mon Sep 17 00:00:00 2001 From: gitlabhq Date: Thu, 27 Oct 2011 16:50:35 +0300 Subject: [PATCH] #173 --- app/views/commits/_text_file.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/commits/_text_file.html.haml b/app/views/commits/_text_file.html.haml index db71c387..1ef4a3c8 100644 --- a/app/views/commits/_text_file.html.haml +++ b/app/views/commits/_text_file.html.haml @@ -2,6 +2,7 @@ - line_new = 0 - lines_arr = diff.diff.lines.to_a - lines_arr.each do |line| + - next if line.match(/^--- \/dev\/null/) - next if line.match(/^--- a/) - next if line.match(/^\+\+\+ b/) - if line.match(/^@@ -/)