##// END OF EJS Templates
scm: git: fix loss non ASCII paths if path_encoding is '' (#5251)....
Toshi MARUYAMA -
r5508:7575989c78d4
parent child
Show More
@@ -64,7 +64,7 module Redmine
64
64
65 def initialize(url, root_url=nil, login=nil, password=nil, path_encoding=nil)
65 def initialize(url, root_url=nil, login=nil, password=nil, path_encoding=nil)
66 super
66 super
67 @path_encoding = path_encoding || 'UTF-8'
67 @path_encoding = path_encoding.blank? ? 'UTF-8' : path_encoding
68 @flag_report_last_commit = SCM_GIT_REPORT_LAST_COMMIT
68 @flag_report_last_commit = SCM_GIT_REPORT_LAST_COMMIT
69 end
69 end
70
70
General Comments 0
You need to be logged in to leave comments. Login now