diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-30 23:20:16 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-30 23:20:16 +0200 |
commit | d34904b86c07f6a408bbd4496ea23a23f1208ec5 (patch) | |
tree | 89efb2d01d3ecc65c1b67322d002bf3a894b80a4 /lib/graph_commit.rb | |
parent | e33aab0b21e38f4cf7aed8bb6451d737fcefe110 (diff) | |
parent | 31f3d6efb3b4b3f4ae5ffd64455cc2e26106a61d (diff) | |
download | gitlab-ce-d34904b86c07f6a408bbd4496ea23a23f1208ec5.tar.gz |
Merge branch 'grit_ext'
Diffstat (limited to 'lib/graph_commit.rb')
-rw-r--r-- | lib/graph_commit.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/graph_commit.rb b/lib/graph_commit.rb index 1fcb9e78ef0..54550d99cf6 100644 --- a/lib/graph_commit.rb +++ b/lib/graph_commit.rb @@ -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 |