]> source.dussan.org Git - redmine.git/commitdiff
scm: git: add instance variable for path encoding in adapter (#5251).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 8 Mar 2011 03:29:36 +0000 (03:29 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 8 Mar 2011 03:29:36 +0000 (03:29 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5035 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/git_adapter.rb

index d8c9f30fd99e74c0795a1ed35d325b63cf3e481a..25637dbd8e373ffe0137eab6c25ff0617cddfc4e 100644 (file)
@@ -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