diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-03-08 04:50:06 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-03-08 04:50:06 +0000 |
commit | 32bd4ec0b43f6608b5899ad5d537b4da0ba2705e (patch) | |
tree | cad82319f0610c45a31e90a77bc507c06073c261 /lib | |
parent | 10830d4dd3abf4254fb4edba5df45831d17eafc5 (diff) | |
download | redmine-32bd4ec0b43f6608b5899ad5d537b4da0ba2705e.tar.gz redmine-32bd4ec0b43f6608b5899ad5d537b4da0ba2705e.zip |
scm: git: support path encoding in adapter revisions() (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5038 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/scm/adapters/git_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/git_adapter.rb b/lib/redmine/scm/adapters/git_adapter.rb index 4f22e597b..a90336c75 100644 --- a/lib/redmine/scm/adapters/git_adapter.rb +++ b/lib/redmine/scm/adapters/git_adapter.rb @@ -167,7 +167,7 @@ module Redmine from_to << "#{identifier_to}" if identifier_to cmd_args << from_to if !from_to.empty? cmd_args << "--since=#{options[:since].strftime("%Y-%m-%d %H:%M:%S")}" if options[:since] - cmd_args << "--" << path if path && !path.empty? + cmd_args << "--" << scm_iconv(@path_encoding, 'UTF-8', path) if path && !path.empty? scm_cmd *cmd_args do |io| files=[] |