From 33167331d64527afb730e3a6827722e67285f6e2 Mon Sep 17 00:00:00 2001 From: "scottbyer@chromium.org" Date: Thu, 23 Feb 2012 21:15:30 +0000 Subject: [PATCH] Make sure to remove color output from patches uploaded for try jobs (and other things). Review URL: http://codereview.chromium.org/9442028 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@123329 0039d316-1c4b-4281-b951-d872f2087c98 --- scm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scm.py b/scm.py index 0df8a1446a..e58286cb73 100644 --- a/scm.py +++ b/scm.py @@ -343,7 +343,7 @@ class GIT(object): files, usually in the prospect to apply the patch for a try job.""" if not branch: branch = GIT.GetUpstreamBranch(cwd) - command = ['diff', '-p', '--no-prefix', '--no-ext-diff', + command = ['diff', '-p', '--no-color', '--no-prefix', '--no-ext-diff', branch + "..." + branch_head] if not full_move: command.append('-C')