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

lib/redmine/scm/adapters/filesystem_adapter.rb

index 4b6559c612738741b1b83d158f2b49803bbd08b5..cbd29aada678b9372213d23c19514e9fbb02fab6 100644 (file)
@@ -38,6 +38,10 @@ module Redmine
           @path_encoding = path_encoding.blank? ? 'UTF-8' : path_encoding
         end
 
+        def path_encoding
+          @path_encoding
+        end
+
         def format_path_ends(path, leading=true, trailling=true)
           path = leading ? with_leading_slash(path) :
             without_leading_slash(path)