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

[PATCH 1/2] git-rev-list.txt: Correct description for multiple arguments

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Aug 5, 2009, 07:58 UTC
Message-ID
<1249459117-3853-1-git-send-email-git@drmicha.warpmail.net>

"git rev-list A B" really lists those commits which are included in A or B, i.e. it lists those in A and those in B. Say so, because saying "which are included in A and B" would mean those who are in both A and B.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
Patch against master.

The current description is simply wrong, which is why I strongly suggest this fix. The upcoming suggests an extra paragraph for clarifying the use of multiple revision arguments.

 Documentation/git-rev-list.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-rev-list.txt b/Documentation/git-rev-list.txt
index a765cfa..847cc7d 100644
--- a/Documentation/git-rev-list.txt
+++ b/Documentation/git-rev-list.txt
@@ -63,7 +63,7 @@ command:
 	$ git rev-list foo bar ^baz
 -----------------------------------------------------------------------
 
-means "list all the commits which are included in 'foo' and 'bar', but
+means "list all the commits which are included in 'foo' or 'bar', but
 not in 'baz'".
 
 A special notation "'<commit1>'..'<commit2>'" can be used as a
-- 
1.6.4.70.g9c084
Next: Michael J Gruber
Message 1 of 4 in “git-rev-list.txt: Correct description for multiple arguments”
  1. 1/2 git-rev-list.txt: Correct description for multiple argumentsMichael J Gruber, Aug 5, 2009
  2. 2/2 git-rev-list.txt: Clarify the use of multiple revision argumentsMichael J Gruber, Aug 5, 2009
  3. Junio C HamanoAug 5, 2009
  4. Michael J GruberAug 6, 2009

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.