Project

General

Profile

Defect #5324 » git--no-color.patch

Bernhard Furtmueller, 2010-04-17 23:23

View differences:

lib/redmine/scm/adapters/git_adapter.rb
cmd = "#{GIT_BIN} --git-dir #{target('')} branch"
cmd = "#{GIT_BIN} --no-color --git-dir #{target('')} branch"
......
cmd = "#{GIT_BIN} --git-dir #{target('')} log --pretty=fuller --no-merges -n 1 "
......
cmd = "#{GIT_BIN} --no-color --git-dir #{target('')} log --pretty=fuller --no-merges -n 1 "
......
cmd = "#{GIT_BIN} --git-dir #{target('')} log --raw --date=iso --pretty=fuller"
......
cmd = "#{GIT_BIN} --no-color --git-dir #{target('')} log --raw --date=iso --pretty=fuller"
......
cmd = "#{GIT_BIN} --git-dir #{target('')} diff #{shell_quote identifier_to} #{shell_quote identifier_from}"
......
cmd = "#{GIT_BIN} --no-color --git-dir #{target('')} diff #{shell_quote identifier_to} #{shell_quote identi
cmd = "#{GIT_BIN} --git-dir #{target('')} show #{shell_quote identifier_from}"
cmd = "#{GIT_BIN} --no-color --git-dir #{target('')} show #{shell_quote identifier_from}"
......
cmd = "#{GIT_BIN} --git-dir #{target('')} blame -p #{shell_quote identifier} -- #{shell_quote path}"
......
cmd = "#{GIT_BIN} --no-color --git-dir #{target('')} blame -p #{shell_quote identifier} -- #{shell_quote path
cmd = "#{GIT_BIN} --git-dir #{target('')} show #{shell_quote(identifier + ':' + path)}"
cmd = "#{GIT_BIN} --no-color --git-dir #{target('')} show #{shell_quote(identifier + ':' + path)}"
(1-1/2)