scm: git: fix loss non ASCII paths if path_encoding is '' (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5628 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ee7fe09b1e
commit
7575989c78
|
@ -64,7 +64,7 @@ module Redmine
|
|||
|
||||
def initialize(url, root_url=nil, login=nil, password=nil, path_encoding=nil)
|
||||
super
|
||||
@path_encoding = path_encoding || 'UTF-8'
|
||||
@path_encoding = path_encoding.blank? ? 'UTF-8' : path_encoding
|
||||
@flag_report_last_commit = SCM_GIT_REPORT_LAST_COMMIT
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue