Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Unified Diff: git_cl.py

Issue 16007008: Fix git cl format misunderstanding b/ diff prefixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index 6b735ada00ebde2c155be1871fe03875f2ddcb48..1eec06a74b52af1750a05e20b04651ca77c8a5a0 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1964,7 +1964,7 @@ def CMDformat(parser, args):
parser.error('Unrecognized args: %s' % ' '.join(args))
# Generate diff for the current branch's changes.
- diff_cmd = ['diff', '--no-ext-diff']
+ diff_cmd = ['diff', '--no-ext-diff', '--no-prefix']
if opts.full:
# Only list the names of modified files.
diff_cmd.append('--name-only')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698