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>
changes/23/510923/2
Aaron Gable 8 years ago committed by Commit Bot
parent fe92995d40
commit 2e559c98e6

@ -324,9 +324,6 @@ def add_git_similarity(parser):
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

@ -982,10 +982,7 @@ class TestGitCl(TestCase):
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(

Loading…
Cancel
Save