Skip to contentSkip to conversation

edit merge commit message

DISCUSSION martin f krafft 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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.

Signature · 6 lines
martin | http://madduck.net/ | http://two.sentenc.es/
 
a gourmet concerned about calories
is like a punter eyeing the clock.
 
spamtraps: [email protected]
#1 lore raw
Quoted 9 lines · 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

#2 lore raw

also sprach Bill Lear <[email protected]> [2008.04.11.1950 +0200]:

Quoted 5 lines
Quoted 3 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...

Signature · 7 lines
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: [email protected]