diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-30 23:20:16 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-30 23:20:16 +0200 |
commit | d34904b86c07f6a408bbd4496ea23a23f1208ec5 (patch) | |
tree | 89efb2d01d3ecc65c1b67322d002bf3a894b80a4 /app/models/commit.rb | |
parent | e33aab0b21e38f4cf7aed8bb6451d737fcefe110 (diff) | |
parent | 31f3d6efb3b4b3f4ae5ffd64455cc2e26106a61d (diff) | |
download | gitlab-ce-d34904b86c07f6a408bbd4496ea23a23f1208ec5.tar.gz |
Merge branch 'grit_ext'
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 |