Le Tirsdag 17 mars 2009, Johannes Schindelin a écrit :
Hi,
On Tue, 17 Mar 2009, Olivier Goffart wrote:
quoted
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 :-)
Unfortunately, the implementation is not the problem, but picking the best
name. The first letter "m" will be taken in a short while by the "merge"
command for "rebase -i -p", so "message" is out, sadly.
But the "rephrase" command will be part of the "rebase -i -p" series when
I will finally be able to submit it.
Hi,
Sorry I'm late to reply :-)
I still think this feature to edit the message in git rebase -i is really
usefull. So 'm' is really taken, what about 'r' for 'rephrase'?
or maybe 'rephrase' is something different?
Regards
--
Olivier