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
38
          cmd = "#{GIT_BIN} --git-dir #{target('')} branch"
38
          cmd = "#{GIT_BIN} --no-color --git-dir #{target('')} branch"
......
89
          cmd = "#{GIT_BIN} --git-dir #{target('')} log --pretty=fuller --no-merges -n 1 "
......
89
          cmd = "#{GIT_BIN} --no-color --git-dir #{target('')} log --pretty=fuller --no-merges -n 1 "
......
117
          cmd = "#{GIT_BIN} --git-dir #{target('')} log --raw --date=iso --pretty=fuller"
......
117
          cmd = "#{GIT_BIN} --no-color --git-dir #{target('')} log --raw --date=iso --pretty=fuller"
......
212
            cmd = "#{GIT_BIN} --git-dir #{target('')} diff #{shell_quote identifier_to} #{shell_quote identifier_from}"
......
212
            cmd = "#{GIT_BIN} --no-color --git-dir #{target('')} diff #{shell_quote identifier_to} #{shell_quote identi
214
            cmd = "#{GIT_BIN} --git-dir #{target('')} show #{shell_quote identifier_from}"
214
            cmd = "#{GIT_BIN} --no-color --git-dir #{target('')} show #{shell_quote identifier_from}"
......
230
          cmd = "#{GIT_BIN} --git-dir #{target('')} blame -p #{shell_quote identifier} -- #{shell_quote path}"
......
230
          cmd = "#{GIT_BIN} --no-color --git-dir #{target('')} blame -p #{shell_quote identifier} -- #{shell_quote path
258
          cmd = "#{GIT_BIN} --git-dir #{target('')} show #{shell_quote(identifier + ':' + path)}"
258
          cmd = "#{GIT_BIN} --no-color --git-dir #{target('')} show #{shell_quote(identifier + ':' + path)}"
(1-1/2)