Index: git_cl.py |
diff --git a/git_cl.py b/git_cl.py |
index 4edb6a0af8e1ee834f7f8305e92e435a3c1f9cee..9e1471996bcea50a0fe8ecaefe1e363e6a3e29f6 100755 |
--- a/git_cl.py |
+++ b/git_cl.py |
@@ -2785,9 +2785,9 @@ def CMDdiff(parser, args): |
if rtn != 0: |
return rtn |
- # Switch back to starting brand and diff against the temporary |
+ # Switch back to starting branch and diff against the temporary |
# branch containing the latest rietveld patch. |
- subprocess2.check_call(['git', 'diff', TMP_BRANCH, branch]) |
+ subprocess2.check_call(['git', 'diff', TMP_BRANCH, branch, '--']) |
finally: |
RunGit(['checkout', '-q', branch]) |
RunGit(['branch', '-D', TMP_BRANCH]) |