]> source.dussan.org Git - redmine.git/commitdiff
scm: git: override "path_encoding" method in adapter (#5251).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 21 May 2011 02:39:42 +0000 (02:39 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 21 May 2011 02:39:42 +0000 (02:39 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5870 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/git_adapter.rb

index 1540a2e4b18ef897cd34a8d2e64bc700c81359cf..ad04b62cbca7463e9a661debb352063a3d046c21 100644 (file)
@@ -65,6 +65,10 @@ module Redmine
           @path_encoding = path_encoding.blank? ? 'UTF-8' : path_encoding
         end
 
+        def path_encoding
+          @path_encoding
+        end
+
         def info
           begin
             Info.new(:root_url => url, :lastrev => lastrev('',nil))