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 committed by Eric Davis
parent 19c89413b6
commit 899a35fc8d
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