From 61c5740a869b0ee10d64aea10b4b54b6325d768d Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 21 May 2011 02:39:42 +0000 Subject: [PATCH] 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 --- lib/redmine/scm/adapters/git_adapter.rb | 4 ++++ 1 file changed, 4 insertions(+) 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)) -- 2.39.5