summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb7
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