diff --git a/git_cl.py b/git_cl.py index 9a0c612a4..02f20b5bf 100755 --- a/git_cl.py +++ b/git_cl.py @@ -864,6 +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' ) + self._description if '\nBUG=' not in self._description: diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py index 52bcb6c96..fc7455cdf 100755 --- a/tests/git_cl_test.py +++ b/tests/git_cl_test.py @@ -385,7 +385,9 @@ class TestGitCl(TestCase): self.assertEquals( '# 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' + + '# The first line will also be used as the subject of the review.\n' + '#----------------------This line is 76 characters long' + '----------------------\n' + expected_description, desc) return returned_description