Commit 2e559c98 authored by Aaron Gable's avatar Aaron Gable Committed by Commit Bot

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/510923Reviewed-by: 's avatarAndrew Bonventre <andybons@chromium.org>
Commit-Queue: Aaron Gable <agable@chromium.org>
parent fe92995d
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment