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

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

From
SZEDER Gábor <szeder@ira.uka.de>
Date
Mar 30, 2016, 13:48 UTC
Message-ID
<1459345710-8088-1-git-send-email-szeder@ira.uka.de>

'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 <szeder@ira.uka.de>
---
 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
-- 
2.8.0.46.gb821760
Next: Junio C Hamano
Message 1 of 2 in “for-each-ref: fix description of '--contains' in manpage”
  1. for-each-ref: fix description of '--contains' in manpageSZEDER Gábor, Mar 30, 2016
  2. Junio C HamanoMar 30, 2016

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.