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

Re: cherry picking changesets instead of commits

From
Junio C Hamano <gitster@pobox.com>
Date
May 28, 2008, 18:46 UTC
Message-ID
<7vod6qtgfs.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<190C4133-35C9-4CE0-816B-603B8F661A56@gmail.com>
Geoffrey Irving <geoffrey.irving@gmail.com> writes:
Show 13 quoted lines
> On May 28, 2008, at 11:19 AM, Junio C Hamano <gitster@pobox.com> wrote:
>
>> "Geoffrey Irving" <irving@naml.us> writes:
>>
>>> Would it be straightforward
>>> to add an option to "git cherry" to ignore differences in metadata?
>>> The cherry documentation doesn't give its criteria for when commits
>>> match, and I'm not familiar enough with the code yet to figure out
>>> those criteria directly from cmd_cherry in builtin-log.c.
>>
>> cherry does not look at metadata at all.  It compares patch-ids.
>
> Can you define what a patch-id is?
$ man git-patch-id
Previous: Geoffrey IrvingNext: Geoffrey Irving
Message 4 of 13 in “cherry picking changesets instead of commits”
  1. Geoffrey IrvingMay 28, 2008
  2. Junio C HamanoMay 28, 2008
  3. Geoffrey IrvingMay 28, 2008
  4. Junio C HamanoMay 28, 2008
  5. Geoffrey IrvingMay 28, 2008
  6. Junio C HamanoMay 28, 2008
  7. Geoffrey IrvingMay 28, 2008
  8. Jeff KingMay 28, 2008
  9. Jeff KingMay 28, 2008
  10. Junio C HamanoMay 28, 2008
  11. Jeff KingMay 29, 2008
  12. Documentation: git-cherry uses git-patch-idJunio C Hamano, May 29, 2008
  13. Geoffrey IrvingMay 29, 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.