Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSaito <saitowu@gmail.com>2012-05-30 08:11:03 +0400
committerSaito <saitowu@gmail.com>2012-05-30 08:11:03 +0400
commitc62715acc920f92ce2f3febf4dc3f838e3097410 (patch)
tree1bd7abc5648812c540d28565d71cf023bf39c703 /lib
parent34cc38b6f5942523820ce239b1d5877b0a97e25e (diff)
now render the correct authorname and message
Diffstat (limited to 'lib')
-rw-r--r--lib/graph_commit.rb4
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