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

Unified Diff: git_cl.py

Issue 15898005: presubmit: Call 'git diff' once per change instead of once per file (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Fix unit test on Windows. Created 7 years, 6 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 | patch.py » ('j') | presubmit_support.py » ('J')
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 082b4ebff80196f73684b3b512a2f09691f1e5ad..728350c50e840a02317c6c1588d151f02267ab5a 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -696,9 +696,9 @@ or verify this branch is set up to track another (via the --track argument to
('\nFailed to diff against upstream branch %s!\n\n'
'This branch probably doesn\'t exist anymore. To reset the\n'
'tracking branch, please run\n'
- ' git branch --set-upstream %s trunk\n'
+ ' git branch --set-upstream-to=trunk\n'
'replacing trunk with origin/master or the relevant branch') %
- (upstream_branch, self.GetBranch()))
+ (upstream_branch))
issue = self.GetIssue()
patchset = self.GetPatchset()
« no previous file with comments | « no previous file | patch.py » ('j') | presubmit_support.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698