# edit merge commit message

3 messages from 2008-04-11 to 2008-04-11. Participants: martin f krafft, Bill Lear.
Thread: https://gitlist.dev/t/13063

## martin f krafft, 2008-04-11 17:12

Subject: edit merge commit message
Message-ID: <20080411171204.GA29738@lapse.madduck.net>
URL: https://gitlist.dev/e/20080411171204.GA29738%40lapse.madduck.net

```
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, 2008-04-11 17:50

Subject: Re: edit merge commit message
Message-ID: <18431.42219.921671.875700@lisa.zopyra.com>
URL: https://gitlist.dev/e/18431.42219.921671.875700%40lisa.zopyra.com
In-Reply-To: <20080411171204.GA29738@lapse.madduck.net>

```
On Friday, April 11, 2008 at 19:12:04 (+0200) martin f krafft writes:
>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, 2008-04-11 18:08

Subject: Re: edit merge commit message
Message-ID: <20080411180815.GA31608@lapse.madduck.net>
URL: https://gitlist.dev/e/20080411180815.GA31608%40lapse.madduck.net
In-Reply-To: <18431.42219.921671.875700@lisa.zopyra.com>

```
also sprach Bill Lear <rael@zopyra.com> [2008.04.11.1950 +0200]:
> >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

```
