| Index: git_cl.py
|
| diff --git a/git_cl.py b/git_cl.py
|
| index b0c42f4aacd474ad3c9ee29bffc352bde5fe597f..bf949133c959efd8552fd8fe1752b34f55a88aaf 100755
|
| --- a/git_cl.py
|
| +++ b/git_cl.py
|
| @@ -3279,8 +3279,6 @@
|
| """Brings up the editor for the current CL's description."""
|
| parser.add_option('-d', '--display', action='store_true',
|
| help='Display the description instead of opening an editor')
|
| - parser.add_option('-n', '--new-description',
|
| - help='New description to set for this issue (- for stdin)')
|
|
|
| _add_codereview_select_options(parser)
|
| auth.add_auth_options(parser)
|
| @@ -3304,20 +3302,10 @@
|
| if not cl.GetIssue():
|
| DieWithError('This branch has no associated changelist.')
|
| description = ChangeDescription(cl.GetDescription())
|
| -
|
| if options.display:
|
| print description.description
|
| return 0
|
| -
|
| - if options.new_description:
|
| - text = options.new_description
|
| - if text == '-':
|
| - text = '\n'.join(sys.stdin.splitlines())
|
| -
|
| - description.set_description(text)
|
| - else:
|
| - description.prompt()
|
| -
|
| + description.prompt()
|
| if cl.GetDescription() != description.description:
|
| cl.UpdateDescription(description.description)
|
| return 0
|
|
|