diff options
author | Saito <saitowu@gmail.com> | 2012-05-30 12:11:03 +0800 |
---|---|---|
committer | Saito <saitowu@gmail.com> | 2012-05-30 12:11:03 +0800 |
commit | c62715acc920f92ce2f3febf4dc3f838e3097410 (patch) | |
tree | 1bd7abc5648812c540d28565d71cf023bf39c703 /lib/graph_commit.rb | |
parent | 34cc38b6f5942523820ce239b1d5877b0a97e25e (diff) | |
download | gitlab-ce-c62715acc920f92ce2f3febf4dc3f838e3097410.tar.gz |
now render the correct authorname and message
Diffstat (limited to 'lib/graph_commit.rb')
-rw-r--r-- | lib/graph_commit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |