[PATCH RFC] commit: add --reuse-message for keeping the old commit message during amend

Idan Kamara idankk86 at gmail.com
Tue Feb 12 15:16:42 CST 2013

On Tue, Feb 12, 2013 at 11:08 PM, Durham Goode <durham at fb.com> wrote:
>>  What about something generic like --no-editor? It's not as explicit
>>  but we already have --editor which forces an editor, so this will do
>>  the opposite.
>>  It also opens up the possibility of appearing in other commands with
>>  similar semantics but without being directly related to amend.
> I think the name must imply some relationship with another commit, so it's
> semi intuitive that it's related to --amend. I think a user would be more
> likely to try --no-editor without --amend, and be confused when it failed.

The help text should (regardless of the name) say that this option is only
relevant when used with --amend.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130212/4cc5ea1b/attachment.html>

More information about the Mercurial-devel mailing list