Change to 72 column reference in git cl upload message

76 columns is fine for most patches but reverts will eat another
4 spaces in indentation. For the sake of revert clarity this reference
line is reduced to 72 columns.

Review URL: https://chromiumcodereview.appspot.com/16152005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@203530 0039d316-1c4b-4281-b951-d872f2087c98
parent 885a960b
......@@ -864,8 +864,8 @@ class ChangeDescription(object):
'# Enter a description of the change.\n'
'# This will be displayed on the codereview site.\n'
'# The first line will also be used as the subject of the review.\n'
'#----------------------This line is 76 characters long'
'----------------------\n'
'#--------------------This line is 72 characters long'
'--------------------\n'
) + self._description
if '\nBUG=' not in self._description:
......
......@@ -386,8 +386,8 @@ class TestGitCl(TestCase):
'# Enter a description of the change.\n'
'# This will be displayed on the codereview site.\n'
'# The first line will also be used as the subject of the review.\n'
'#----------------------This line is 76 characters long'
'----------------------\n' +
'#--------------------This line is 72 characters long'
'--------------------\n' +
expected_description,
desc)
return returned_description
......
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