diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-02-28 14:12:47 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-02-28 14:12:47 +0000 |
commit | eb1271bb444c82a95264a4030ac425d8f688f1f7 (patch) | |
tree | 47ca3783866a8b59daf95ef34c6e6339f3e2896c /app | |
parent | 06c9eea67a802c0039f7ff40de28db16cb1e5893 (diff) | |
download | redmine-eb1271bb444c82a95264a4030ac425d8f688f1f7.tar.gz redmine-eb1271bb444c82a95264a4030ac425d8f688f1f7.zip |
scm: git: use --encoding=UTF-8 in "git log" (#3396).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4964 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/models/repository/git.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/repository/git.rb b/app/models/repository/git.rb index 0ebd8668e..63faea668 100644 --- a/app/models/repository/git.rb +++ b/app/models/repository/git.rb @@ -29,6 +29,10 @@ class Repository::Git < Repository 'Git' end + def repo_log_encoding + 'UTF-8' + end + # Returns the identifier for the given git changeset def self.changeset_identifier(changeset) changeset.scmid |