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

Unified Diff: tests/git_cl_test.py

Issue 10795003: Fix stats output to be always the same and coherent with what is committed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 8 years, 5 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 | « git_cl.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/git_cl_test.py
diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py
index 7e9014084df5d2f375222442404942f5254cac36..5ae17f9143c7b7fad2e46002a0dd258539578b7a 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -192,8 +192,8 @@ class TestGitCl(TestCase):
@classmethod
def _dcommit_calls_3(cls):
return [
- ((['git', 'diff', '--stat', 'refs/remotes/origin/master',
- 'refs/heads/working'],),
+ ((['git', 'diff', '--no-ext-diff', '--stat', '--find-copies-harder',
+ 'refs/remotes/origin/master', 'refs/heads/working'],),
(' PRESUBMIT.py | 2 +-\n'
' 1 files changed, 1 insertions(+), 1 deletions(-)\n')),
(('About to commit; enter to confirm.',), None),
« no previous file with comments | « git_cl.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698