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

Unified Diff: git_cl.py

Issue 2277513002: Run auto-spell-checker (codespell) on files in depot_tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 4 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 | « gerrit_util.py ('k') | git_common.py » ('j') | 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 42a5eabc18207e364575959ab1d420de7f6f9f12..088ca87ce3d9deab06737fcc2249b905613c7f19 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -202,7 +202,7 @@ def _git_set_branch_config_value(key, value, branch=None, **kwargs):
branch = GetCurrentBranch()
assert branch, 'a branch name OR currently checked out branch is required'
args = ['config']
- # Check for boolean first, becuase bool is int, but int is not bool.
+ # Check for boolean first, because bool is int, but int is not bool.
if value is None:
args.append('--unset')
elif isinstance(value, bool):
@@ -2403,7 +2403,7 @@ class _GerritChangelistImpl(_ChangelistCodereviewBase):
if not('From Gerrit Code Review' in data and 'add_ChangeId()' in data):
return
print('Warning: you have Gerrit commit-msg hook installed.\n'
- 'It is not neccessary for uploading with git cl in squash mode, '
+ 'It is not necessary for uploading with git cl in squash mode, '
'and may interfere with it in subtle ways.\n'
'We recommend you remove the commit-msg hook.')
if offer_removal:
@@ -3114,7 +3114,7 @@ def get_cl_statuses(changes, fine_grained, max_processes=None):
See GetStatus() for a list of possible statuses.
"""
- # Silence upload.py otherwise it becomes unwieldly.
+ # Silence upload.py otherwise it becomes unwieldy.
upload.verbosity = 0
if fine_grained:
« no previous file with comments | « gerrit_util.py ('k') | git_common.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698