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:
parent
af01f5259b
commit
915107a0ec
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue