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

Unified Diff: git_cl.py

Issue 136333010: git_cl format: allow WebKit style to be picked up from .clang-format (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 6 years, 11 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 452794451766fb9fd8691207e8e0ee8fd80d36bc..f6c1ae7d7567f1b500676c1493d575b1ebcca583 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -2358,7 +2358,7 @@ def CMDformat(parser, args):
if not files:
print "Nothing to format."
return 0
- RunCommand([clang_format_tool, '-i', '-style', 'Chromium'] + files,
+ RunCommand([clang_format_tool, '-i'] + files,
cwd=top_dir)
else:
env = os.environ.copy()
@@ -2370,7 +2370,7 @@ def CMDformat(parser, args):
except clang_format.NotFoundError, e:
DieWithError(e)
- cmd = [sys.executable, script, '-p0', '-style', 'Chromium', '-i']
+ cmd = [sys.executable, script, '-p0', '-i']
RunCommand(cmd, stdin=diff_output, cwd=top_dir, env=env)
« 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