git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Junio C Hamano
Message 4 of 4 in “Use commit template when cherry picking”
  1. Use commit template when cherry pickingDeepak Saxena, Jan 11, 2008
  2. Johannes SchindelinJan 11, 2008
  3. Junio C HamanoJan 11, 2008
  4. Johannes SchindelinJan 11, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.