scm: git: add --no-color option to run "git --version".

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4885 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-02-20 01:33:09 +00:00
parent af01f5259b
commit 915107a0ec
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ module Redmine
end
def scm_version_from_command_line
shellout("#{sq_bin} --version") { |io| io.read }.to_s
shellout("#{sq_bin} --version --no-color") { |io| io.read }.to_s
end
end