git-cl: remove unnecessary similarity notice
This information is redundant when using Gerrit,
and is well known to anyone still using Rietveld.
Change-Id: I03119a84edb67fd20fbe5e2a8e0f0975e69558ed
Reviewed-on: https://chromium-review.googlesource.com/510923
Reviewed-by: Andrew Bonventre <andybons@chromium.org>
Commit-Queue: Aaron Gable <agable@chromium.org>
diff --git a/git_cl.py b/git_cl.py
index 390f4b4..8bb7cd0 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -324,9 +324,6 @@
else:
_git_set_branch_config_value('git-find-copies', bool(options.find_copies))
- print('Using %d%% similarity for rename/copy detection. '
- 'Override with --similarity.' % options.similarity)
-
return options, args
parser.parse_args = Parse
diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py
index 95d75d1..e9ceb3d 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -982,10 +982,7 @@
self.mock(sys, 'stdout', stdout)
with self.assertRaises(SystemExitMock):
git_cl.main(['upload', '--send-mail'])
- self.assertEqual(
- 'Using 50% similarity for rename/copy detection. Override with '
- '--similarity.\n',
- stdout.getvalue())
+ self.assertEqual('', stdout.getvalue())
def test_bug_on_cmd(self):
self._run_reviewer_test(