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

@ -8,7 +8,7 @@ class Tree
def initialize(raw_tree, project, ref = nil, path = nil)
@project, @ref, @path = project, ref, path
@tree = if path.present?
raw_tree / path.dup.force_encoding('ascii-8bit')
raw_tree / path
else
raw_tree
end