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

Re: cherry-pick -x formats the message incorrectly

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 16, 2010, 19:20 UTC
Message-ID
<7vpqu5gjmv.fsf@alter.siamese.dyndns.org>
In-Reply-To
<loom.20101116T100730-967@post.gmane.org>
Martin Svensson <martin.k.svensson@netinsight.se> writes:
Show 9 quoted lines
> Now that's not good, because it is a two-line summary. In my opinion, the
> parentheses should _always_ end up in the detailed part.
> It should be:
>
>   foo
>   
>   (cherry picked from commit eb42a6475d2c2e4fff7a1b626ce6e27eec21e886)
>
> Am I right?

I tend to agree (modulo s/summary/subject/ would be the wording I would have used).

This falls into "patches welcome" category, though. I do not think anybody sane is still using cherry-pick with -x option these days after http://thread.gmane.org/gmane.comp.version-control.git/28378

Previous: Martin SvenssonNext: Jonathan Nieder
Message 2 of 4 in “cherry-pick -x formats the message incorrectly”
  1. Martin SvenssonNov 16, 2010
  2. Junio C HamanoNov 16, 2010
  3. Jonathan NiederNov 16, 2010
  4. Jonathan NiederNov 16, 2010

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.