]> source.dussan.org Git - redmine.git/commitdiff
Merged r16948 from trunk to 3.4-stable (#26645)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 8 Aug 2017 06:22:49 +0000 (06:22 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 8 Aug 2017 06:22:49 +0000 (06:22 +0000)
git: remove "--no-color" option from "git --version" for git 2.14 compatibility.

git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@16949 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/git_adapter.rb

index 6c615cb1163328f83fcd5db0743da9b7ea68a849..fcc77f393a5b702bdbf2fbc8a2cb4821cfcfb63e 100644 (file)
@@ -54,7 +54,7 @@ module Redmine
           end
 
           def scm_version_from_command_line
-            shellout("#{sq_bin} --version --no-color") { |io| io.read }.to_s
+            shellout("#{sq_bin} --version") { |io| io.read }.to_s
           end
         end