diff --git a/git_cl.py b/git_cl.py index 4edb6a0af..9e1471996 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])