remove encode lib, clean all encoded area.

This commit is contained in:
Saito 2012-11-09 01:41:07 +08:00
parent 96211b01a8
commit f1ac2a616b
10 changed files with 10 additions and 73 deletions

View file

@ -22,13 +22,13 @@ module Gitlab
h[:parents] = self.parents.collect do |p|
[p.id,0,0]
end
h[:author] = Gitlab::Encode.utf8(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] = escape_once(Gitlab::Encode.utf8(message))
h[:message] = escape_once(message)
h[:login] = author.email
h
end