From 14023c4e5a3241d06a8a021bab1183e4a9742b28 Mon Sep 17 00:00:00 2001 From: Saito Date: Fri, 30 Dec 2011 21:41:39 +0800 Subject: remove charencode. --- app/models/commit.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'app/models/commit.rb') diff --git a/app/models/commit.rb b/app/models/commit.rb index c97aec28c72..33d3b202ee7 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -1,5 +1,4 @@ class Commit - include Utils::CharEncode attr_accessor :commit attr_accessor :head @@ -22,7 +21,7 @@ class Commit end def safe_message - encode(message) + message end def created_at @@ -30,11 +29,11 @@ class Commit end def author_email - encode(author.email) + author.email end def author_name - encode(author.name) + author.name end def prev_commit -- cgit v1.2.1