summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-03-08 03:29:36 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-03-08 03:29:36 +0000
commit3c0fdd4938a204bdb3c759a5ebe34b477992f72b (patch)
tree6455c2f63fc554e28cd5525d86e09e6f463640a6 /lib
parenta1364ed2b8474bed9c2eed37e8ee179b583ddfb2 (diff)
downloadredmine-3c0fdd4938a204bdb3c759a5ebe34b477992f72b.tar.gz
redmine-3c0fdd4938a204bdb3c759a5ebe34b477992f72b.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/scm/adapters/git_adapter.rb1
1 files changed, 1 insertions, 0 deletions
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