Commit 90d30c60 authored by enne@chromium.org's avatar enne@chromium.org

Fix git cl format misunderstanding b/ diff prefixes

R=digit@chromium.org, maruel@chromium.org
BUG=244602

Review URL: https://chromiumcodereview.appspot.com/16007008

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@202879 0039d316-1c4b-4281-b951-d872f2087c98
parent c1737d06
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment