diff options
author | Saito <saitowu@gmail.com> | 2012-11-09 01:41:07 +0800 |
---|---|---|
committer | Saito <saitowu@gmail.com> | 2012-11-09 01:41:07 +0800 |
commit | f1ac2a616bedc2941bc7f67e2ac25e915da2ddb2 (patch) | |
tree | 9b90978fd0bcb67d5a359efbc71ded8ceb4333c0 /app/models/tree.rb | |
parent | 96211b01a86c0f147dda88f336e9443c94f46ea4 (diff) | |
download | gitlab-ce-f1ac2a616bedc2941bc7f67e2ac25e915da2ddb2.tar.gz |
remove encode lib, clean all encoded area.
Diffstat (limited to 'app/models/tree.rb')
-rw-r--r-- | app/models/tree.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/tree.rb b/app/models/tree.rb index e4297a71a52..c3dfd4c718c 100644 --- a/app/models/tree.rb +++ b/app/models/tree.rb @@ -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 |