diff options
author | Saito <saitowu@gmail.com> | 2011-12-30 17:41:39 +0400 |
---|---|---|
committer | Saito <saitowu@gmail.com> | 2011-12-30 17:41:39 +0400 |
commit | 14023c4e5a3241d06a8a021bab1183e4a9742b28 (patch) | |
tree | aa6f8364bd37bd07f3399863e68e0fdd8dd4dbec /app/views/commits/_text_file.html.haml | |
parent | 7279e8c1774f3116dd74ca462447189730f9eff8 (diff) |
remove charencode.
Diffstat (limited to 'app/views/commits/_text_file.html.haml')
-rw-r--r-- | app/views/commits/_text_file.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
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/) |