mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-28 14:06:05 +10:00
remove encode lib, clean all encoded area.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user