remove charencode.

This commit is contained in:
Saito 2011-12-30 21:41:39 +08:00
parent 7279e8c177
commit 14023c4e5a
6 changed files with 9 additions and 26 deletions

View file

@ -1,7 +1,6 @@
require "grit"
class GraphCommit
include Utils::CharEncode
attr_accessor :time, :space
attr_accessor :refs
@ -97,13 +96,13 @@ class GraphCommit
h[:parents] = self.parents.collect do |p|
[p.id,0,0]
end
h[:author] = encode(author.name)
h[:author] = 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] = encode(message)
h[:message] = message
h[:login] = author.email
h
end