From 3c0fdd4938a204bdb3c759a5ebe34b477992f72b Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 8 Mar 2011 03:29:36 +0000 Subject: [PATCH] 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 --- lib/redmine/scm/adapters/git_adapter.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/redmine/scm/adapters/git_adapter.rb b/lib/redmine/scm/adapters/git_adapter.rb index d8c9f30fd..25637dbd8 100644 --- a/lib/redmine/scm/adapters/git_adapter.rb +++ b/lib/redmine/scm/adapters/git_adapter.rb @@ -64,6 +64,7 @@ module Redmine def initialize(url, root_url=nil, login=nil, password=nil, path_encoding=nil) super + @path_encoding = path_encoding || 'UTF-8' @flag_report_last_commit = SCM_GIT_REPORT_LAST_COMMIT end -- 2.39.5