[PATCH] commit: --edit/-e to force edit of otherwise-supplied commit message

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Sep 9 17:05:04 UTC 2013


On 9 sept. 2013, at 05:15, Augie Fackler wrote:

> On Sun, Sep 08, 2013 at 07:15:13PM -0400, Bradley M. Kuhn wrote:
>> # HG changeset patch
>> # User "Bradley M. Kuhn" <bkuhn at ebb.org>
>> # Date 1378681328 14400
>> # Node ID 3d6eba7684266bacc022dfb3f15ce242fd645aa7
>> # Parent  1d07bf106c2ad1c7ef5e257e754ca8d858bd04b0
>> commit: --edit/-e to force edit of otherwise-supplied commit message
> 
> I'm not quite sure I see the use case - is this so you can edit
> something after a script specified a commit message?

I've been thinking for a way to "queue" stuff for future commit message. adding stuff to a file then using -l <f> -e would work.

This could also help on the --amend front to have people explicitly asking for the editor.

However, I'm not trilled about adding such a flag both of my usecase have more elegant solution and I'm not convinced the `-m "omg this is too long" -e` worst it.


-- 
Pierre-Yves


More information about the Mercurial-devel mailing list