Re: [PATCH] Use commit template when cherry picking
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 11, 2008, 21:24 UTC
- Message-ID
- <alpine.LSU.1.00.0801112123410.31053@racer.site>
- In-Reply-To
- <7v7iig2npe.fsf@gitster.siamese.dyndns.org>
Hi,
On Fri, 11 Jan 2008, Junio C Hamano wrote:
Show 7 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > I would do a combination of "cherry-pick -n", "cat-file commit > > <commit> | sed '1,/^$/d'" and "commit -F" or "commit -f". > > Doesn't cherry-pick have -e switch to allow you further edit the > message?
Good point. But nevertheless, Deepak wanted to have a template which is automatically added, and I think the only way to do that right now is as I described.
Ciao, Dscho