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

[PATCH] Documentation: git-cherry uses git-patch-id

From
Junio C Hamano <gitster@pobox.com>
Date
May 29, 2008, 00:04 UTC
Message-ID
<7v7idern4q.fsf_-_@gitster.siamese.dyndns.org>
In-Reply-To
<7f9d599f0805281414x6b97070ag7a1cc36f5d3c5a36@mail.gmail.com>
"Geoffrey Irving" <irving@naml.us> writes:
Show 8 quoted lines
> On Wed, May 28, 2008 at 1:46 PM, Junio C Hamano <gitster@pobox.com> wrote:
>
>> Thanks.
>>
>> In manual pages, "SEE ALSO" section is a more appropriate place to do this
>> kind of thing.
>
> Here's an improved patch.
Thanks, I'll do this instead...

-- >8 -- Geoffrey Irving noticed that git-cherry talks about comparing commits without hinting how they are compared.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 Documentation/git-cherry.txt |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-cherry.txt b/Documentation/git-cherry.txt
index b0468aa..d8e0a5b 100644
--- a/Documentation/git-cherry.txt
+++ b/Documentation/git-cherry.txt
@@ -13,6 +13,8 @@ DESCRIPTION
 -----------
 The changeset (or "diff") of each commit between the fork-point and <head>
 is compared against each commit between the fork-point and <upstream>.
+The commits are compared with their 'patch id', obtained from linkgit:git-patch-id[1]
+program.
 
 Every commit that doesn't exist in the <upstream> branch
 has its id (sha1) reported, prefixed by a symbol.  The ones that have
@@ -56,6 +58,10 @@ OPTIONS
 <limit>::
 	Do not report commits up to (and including) limit.
 
+SEE ALSO
+--------
+linkgit:git-patch-id[1]
+
 Author
 ------
 Written by Junio C Hamano <junkio@cox.net>
-- 
1.5.6.rc0.43.g823ea
Previous: Jeff KingNext: Geoffrey Irving
Message 12 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.