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

Unified Diff: git_cl.py

Issue 889093002: Allow branch name to be the same as directory name for "git cl diff" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: follow coding convention of the file Created 5 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 4edb6a0af8e1ee834f7f8305e92e435a3c1f9cee..b30e369b7db59039c8728f971dec11ad9c983398 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -2787,7 +2787,7 @@ def CMDdiff(parser, args):
# Switch back to starting brand and diff against the temporary
iannucci 2015/02/02 15:54:52 could you fix s/brand/branch too?
wychen 2015/02/02 16:27:32 Done.
# branch containing the latest rietveld patch.
- subprocess2.check_call(['git', 'diff', TMP_BRANCH, branch])
+ RunGit(['diff', TMP_BRANCH, branch, '--'])
finally:
RunGit(['checkout', '-q', branch])
RunGit(['branch', '-D', TMP_BRANCH])
« 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