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

Unified Diff: chrome/common/extensions/PRESUBMIT.py

Issue 153953011: Add git cl format presubmit warning for extension and apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « chrome/browser/ui/apps/PRESUBMIT.py ('k') | chrome/renderer/extensions/PRESUBMIT.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/PRESUBMIT.py
diff --git a/chrome/common/extensions/PRESUBMIT.py b/chrome/common/extensions/PRESUBMIT.py
index 2e138c94db282c94ab52cd1ed24e765e061fd2b7..56ac3b4c8fc98b21952b68e1aa1c815db644b162 100644
--- a/chrome/common/extensions/PRESUBMIT.py
+++ b/chrome/common/extensions/PRESUBMIT.py
@@ -153,7 +153,10 @@ def _CheckChange(input_api, output_api):
return results
def CheckChangeOnUpload(input_api, output_api):
- return _CheckChange(input_api, output_api)
+ results = []
+ results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api)
+ results += _CheckChange(input_api, output_api)
+ return results
def CheckChangeOnCommit(input_api, output_api):
return _CheckChange(input_api, output_api)
« no previous file with comments | « chrome/browser/ui/apps/PRESUBMIT.py ('k') | chrome/renderer/extensions/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698