threads / discuss / 13063

edit merge commit message

Subject: edit merge commit message

## tl;dr

3 messages between Apr 11, 2008 and Apr 11, 2008.

replies: 2people: 2as markdown or json

martin f krafft· Apr 11, 2008, 17:12 UTC · lore
Hi folks

Is there any way to edit the message of a merge prior to the commit? I see there is an -m option but no --edit or the like. It would also make sense to have a config option for this to turn on spawning the editor by default, I think...

If there is none, I am willing to take a stab at it. Unless you tell me that this will have no chance to go upstream.

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
a gourmet concerned about calories
is like a punter eyeing the clock.
 
spamtraps: madduck.bogus@madduck.net
Bill Lear· Apr 11, 2008, 17:50 UTC · re: martin f krafft · lore

Re: edit merge commit message

On Friday, April 11, 2008 at 19:12:04 (+0200) martin f krafft writes:
Show 9 quoted lines
>Hi folks
>
>Is there any way to edit the message of a merge prior to the commit?
>I see there is an -m option but no --edit or the like. It would also
>make sense to have a config option for this to turn on spawning the
>editor by default, I think...
>
>If there is none, I am willing to take a stab at it. Unless you tell
>me that this will have no chance to go upstream.
% git commit --ammend
Bill
martin f krafft· Apr 11, 2008, 18:08 UTC · re: Bill Lear · lore

Re: edit merge commit message

also sprach Bill Lear <rael@zopyra.com> [2008.04.11.1950 +0200]:
Show 5 quoted lines
> >I see there is an -m option but no --edit or the like. It would also
> >make sense to have a config option for this to turn on spawning the
> >editor by default, I think...
> 
> % git commit --ammend

And git-merge --no-commit, but those both require multiple command invocations.

I am sorry, I should have mentioned that --no-commit and --no-amend are not what I want.

I just want git-merge --edit and then an editor spawns to let me edit the commit message right away...

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"nothing can cure the soul but the senses,
 just as nothing can cure the senses but the soul."
                                                        -- oscar wilde
 
spamtraps: madduck.bogus@madduck.net

← back to recent threads