From: Toshi MARUYAMA Date: Sat, 21 May 2011 02:39:42 +0000 (+0000) Subject: scm: git: override "path_encoding" method in adapter (#5251). X-Git-Tag: 1.2.0~23 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=61c5740a869b0ee10d64aea10b4b54b6325d768d;p=redmine.git scm: git: override "path_encoding" method in adapter (#5251). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5870 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redmine/scm/adapters/git_adapter.rb b/lib/redmine/scm/adapters/git_adapter.rb index 1540a2e4b..ad04b62cb 100644 --- a/lib/redmine/scm/adapters/git_adapter.rb +++ b/lib/redmine/scm/adapters/git_adapter.rb @@ -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))