scm: git: add instance variable for path encoding in adapter (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5035 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-03-08 03:29:36 +00:00
parent a1364ed2b8
commit 3c0fdd4938
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ module Redmine
def initialize(url, root_url=nil, login=nil, password=nil, path_encoding=nil) def initialize(url, root_url=nil, login=nil, password=nil, path_encoding=nil)
super super
@path_encoding = path_encoding || 'UTF-8'
@flag_report_last_commit = SCM_GIT_REPORT_LAST_COMMIT @flag_report_last_commit = SCM_GIT_REPORT_LAST_COMMIT
end end