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

Unified Diff: tests/git_cl_test.py

Issue 2489963003: Don't --find-copies-harder when printing informational diff, either (Closed)
Patch Set: update test Created 4 years, 1 month 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 d0f460de32027659514c3560d4139c06fca0548b..dcd530865b99fee4b0256191e8058a8361d49b2e 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -403,8 +403,8 @@ class TestGitCl(TestCase):
if find_copies:
stat_call = ((['git', 'diff', '--no-ext-diff', '--stat',
- '--find-copies-harder', '-l100000', '-C'+similarity,
- 'fake_ancestor_sha', 'HEAD'],), '+dat')
+ '-l100000', '-C'+similarity,
+ 'fake_ancestor_sha', 'HEAD'],), '+dat')
else:
stat_call = ((['git', 'diff', '--no-ext-diff', '--stat',
'-M'+similarity, 'fake_ancestor_sha', 'HEAD'],), '+dat')
@@ -588,9 +588,8 @@ class TestGitCl(TestCase):
def _dcommit_calls_3(cls):
return [
((['git',
- 'diff', '--no-ext-diff', '--stat', '--find-copies-harder',
- '-l100000', '-C50', 'fake_ancestor_sha',
- 'refs/heads/working'],),
+ 'diff', '--no-ext-diff', '--stat', '-l100000', '-C50',
+ 'fake_ancestor_sha', 'refs/heads/working'],),
(' PRESUBMIT.py | 2 +-\n'
' 1 files changed, 1 insertions(+), 1 deletions(-)\n')),
((['git', 'show-ref', '--quiet', '--verify',
@@ -857,8 +856,8 @@ class TestGitCl(TestCase):
]) + [
((['git', 'config', 'user.email'],), 'me@example.com'),
((['git',
- 'diff', '--no-ext-diff', '--stat', '--find-copies-harder',
- '-l100000', '-C50', 'fake_ancestor_sha', 'HEAD'],),
+ 'diff', '--no-ext-diff', '--stat', '-l100000', '-C50',
+ 'fake_ancestor_sha', 'HEAD'],),
'+dat'),
]
« 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