From c62715acc920f92ce2f3febf4dc3f838e3097410 Mon Sep 17 00:00:00 2001 From: Saito Date: Wed, 30 May 2012 12:11:03 +0800 Subject: now render the correct authorname and message --- lib/graph_commit.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/graph_commit.rb') diff --git a/lib/graph_commit.rb b/lib/graph_commit.rb index 54550d99cf6..64498d8b1d6 100644 --- a/lib/graph_commit.rb +++ b/lib/graph_commit.rb @@ -96,13 +96,13 @@ class GraphCommit h[:parents] = self.parents.collect do |p| [p.id,0,0] end - h[:author] = author.name + h[:author] = Gitlab::Encode.utf8(author.name) h[:time] = time h[:space] = space h[:refs] = refs.collect{|r|r.name}.join(" ") unless refs.nil? h[:id] = sha h[:date] = date - h[:message] = message + h[:message] = Gitlab::Encode.utf8(message) h[:login] = author.email h end -- cgit v1.2.1