Ability to edit message from git rebase --interactive.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Olivier Goffart
Date: Tuesday, March 17, 2009 - 11:53 am

Hello.

I use git in a workflow in wich we often need to edit the message logs of some 
commits.
The way we do it is using git rebase -i    and choose edit.   
But then you need to do git commit --amend and git rebase --continue,  which 
is error prone and add more useless steps.

The attached patch add a new keyword to git rebase interactive to just edit 
the message log.

I was told on IRC that this has been discussed already not so long ago, and 
looking on the archive[1], all i seen was bikesheeding .  Here is a patch :-)

Do you think it make sens to have that in git?

Please CC me replies.

-- 
Olivier


[1] http://thread.gmane.org/gmane.comp.version-control.git/105738
(my patch is different from this one as it adds a new keyword rather than 
change the behavior of one existing one)
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Ability to edit message from git rebase --interactive., Olivier Goffart, (Tue Mar 17, 11:53 am)
Re: Ability to edit message from git rebase --interactive., Johannes Schindelin, (Tue Mar 17, 3:31 pm)
Re: Ability to edit message from git rebase --interactive., Johannes Schindelin, (Tue Mar 17, 5:58 pm)
Re: Ability to edit message from git rebase --interactive., Junio C Hamano, (Tue Mar 17, 6:06 pm)
Re: Ability to edit message from git rebase --interactive., Sverre Rabbelier, (Tue Mar 17, 10:42 pm)
Re: Ability to edit message from git rebase --interactive., Michael J Gruber, (Wed Mar 18, 2:54 am)
Re: Ability to edit message from git rebase --interactive., Marcel M. Cary, (Wed Mar 18, 7:52 am)
Re: Ability to edit message from git rebase --interactive., Marcel M. Cary, (Wed Mar 18, 2:02 pm)
Re: Ability to edit message from git rebase --interactive., Olivier Goffart, (Fri Apr 10, 5:17 am)
Re: Ability to edit message from git rebase --interactive., Michael Witten, (Fri Apr 10, 5:37 am)
Re: Ability to edit message from git rebase --interactive., Michael Witten, (Fri Apr 10, 5:41 am)
Re: Ability to edit message from git rebase --interactive., Johannes Schindelin, (Fri Apr 10, 11:21 am)
Re: Ability to edit message from git rebase --interactive., Michael Witten, (Fri Apr 10, 11:50 am)
Re: Ability to edit message from git rebase --interactive., Sverre Rabbelier, (Fri Apr 10, 11:54 am)
Re: Ability to edit message from git rebase --interactive., Michael Witten, (Fri Apr 10, 12:04 pm)