| Index: git_cl.py
|
| diff --git a/git_cl.py b/git_cl.py
|
| index e250c8e5e4dfcf884891629f46fbf7d217fd0cbd..9715f31604faeb6583a7eb549f81f090ab08505a 100755
|
| --- a/git_cl.py
|
| +++ b/git_cl.py
|
| @@ -1254,9 +1254,12 @@ def SendUpstream(parser, args, cmd):
|
| description = cl.GetDescription()
|
|
|
| if not description:
|
| - print 'No description set.'
|
| - print 'Visit %s/edit to set it.' % (cl.GetIssueURL())
|
| - return 1
|
| + if not cl.GetIssue() and options.bypass_hooks:
|
| + description = CreateDescriptionFromLog([base_branch])
|
| + else:
|
| + print 'No description set.'
|
| + print 'Visit %s/edit to set it.' % (cl.GetIssueURL())
|
| + return 1
|
|
|
| if cl.GetIssue():
|
| description += "\n\nReview URL: %s" % cl.GetIssueURL()
|
|
|