From 14023c4e5a3241d06a8a021bab1183e4a9742b28 Mon Sep 17 00:00:00 2001 From: Saito Date: Fri, 30 Dec 2011 21:41:39 +0800 Subject: remove charencode. --- app/views/commits/_text_file.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/commits/_text_file.html.haml') diff --git a/app/views/commits/_text_file.html.haml b/app/views/commits/_text_file.html.haml index 22fe5582dfd..954722b1f31 100644 --- a/app/views/commits/_text_file.html.haml +++ b/app/views/commits/_text_file.html.haml @@ -1,7 +1,7 @@ %table - line_old = 0 - line_new = 0 - - diff_str = encode(diff.diff) + - diff_str = diff.diff - lines_arr = diff_str.lines.to_a - lines_arr.each do |line| - next if line.match(/^--- \/dev\/null/) -- cgit v1.2.3