Thread (2 messages) 2 messages, 1 author, 2016-06-15

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

flat view
DORMANTno replies

From: Michael J Gruber <hidden>
Date: 2016-06-15 22:47:09
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

"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 <redacted>
---
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help