diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-21 02:39:42 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-21 02:39:42 +0000 |
commit | 61c5740a869b0ee10d64aea10b4b54b6325d768d (patch) | |
tree | c235009dfb18e74296b458488edf4cc79c9bcb9c /lib/redmine/scm/adapters/git_adapter.rb | |
parent | c9a3d925ca534bcd200505b65b99f1c64a461abf (diff) | |
download | redmine-61c5740a869b0ee10d64aea10b4b54b6325d768d.tar.gz redmine-61c5740a869b0ee10d64aea10b4b54b6325d768d.zip |
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
Diffstat (limited to 'lib/redmine/scm/adapters/git_adapter.rb')
-rw-r--r-- | lib/redmine/scm/adapters/git_adapter.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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)) |