Actions
Defect #26645
closedgit 2.14 compatibility
Defect #26645:
git 2.14 compatibility
Resolution:
Fixed
Affected version:
Description
There is no "--no-color" argument for "git version" anymore.
Potential fix:
Index: lib/redmine/scm/adapters/git_adapter.rb
===================================================================
--- lib/redmine/scm/adapters/git_adapter.rb (revision 16828)
+++ lib/redmine/scm/adapters/git_adapter.rb (working copy)
@@ -54,7 +54,7 @@
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
Actions