scm: git: fix latin-1 directory entries() in adapter (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5061 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
2ebb117044
commit
d2e68968d6
|
@ -119,7 +119,7 @@ module Redmine
|
||||||
sha = $2
|
sha = $2
|
||||||
size = $3
|
size = $3
|
||||||
name = $4
|
name = $4
|
||||||
full_path = path.empty? ? name : "#{path}/#{name}"
|
full_path = p.empty? ? name : "#{p}/#{name}"
|
||||||
n = scm_iconv('UTF-8', @path_encoding, name)
|
n = scm_iconv('UTF-8', @path_encoding, name)
|
||||||
full_p = scm_iconv('UTF-8', @path_encoding, full_path)
|
full_p = scm_iconv('UTF-8', @path_encoding, full_path)
|
||||||
entries << Entry.new({:name => n,
|
entries << Entry.new({:name => n,
|
||||||
|
|
Loading…
Reference in New Issue