diff options
author | Saito <saitowu@gmail.com> | 2011-12-30 21:41:39 +0800 |
---|---|---|
committer | Saito <saitowu@gmail.com> | 2011-12-30 21:41:39 +0800 |
commit | 14023c4e5a3241d06a8a021bab1183e4a9742b28 (patch) | |
tree | aa6f8364bd37bd07f3399863e68e0fdd8dd4dbec /app/models/commit.rb | |
parent | 7279e8c1774f3116dd74ca462447189730f9eff8 (diff) | |
download | gitlab-ce-14023c4e5a3241d06a8a021bab1183e4a9742b28.tar.gz |
remove charencode.
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r-- | app/models/commit.rb | 7 |
1 files changed, 3 insertions, 4 deletions
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 |