Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] for-each-ref: fix description of '--contains' in manpage

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:09:08

SZEDER Gábor [off-list ref] writes:
'git for-each-ref's manpage says that '--contains' only lists tags,
but it lists all kinds of refs.

Signed-off-by: SZEDER Gábor <redacted>
---
Thanks; will apply on top of 4a71109a (for-each-ref: add
'--contains' option, 2015-07-07) so that we can eventually
include it in 2.7.x maintenance track.
quoted hunk
 Documentation/git-for-each-ref.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-for-each-ref.txt b/Documentation/git-for-each-ref.txt
index 012e8f9a080d..c52578bb87cc 100644
--- a/Documentation/git-for-each-ref.txt
+++ b/Documentation/git-for-each-ref.txt
@@ -76,7 +76,7 @@ OPTIONS
 	specified commit (HEAD if not specified).
 
 --contains [<object>]::
-	Only list tags which contain the specified commit (HEAD if not
+	Only list refs which contain the specified commit (HEAD if not
 	specified).
 
 FIELD NAMES
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help