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

[PATCH] git-config.1: --get-all description update

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 26, 2024, 17:31 UTC
Message-ID
<xmqqplpvjimw.fsf_-_@gitster.g>
In-Reply-To
<xmqq34mrkxre.fsf@gitster.g>

"git config --get-all foo.bar" shows all values for the foo.bar variable, but does not give the variable name in each output entry. Hence it is equivalent to "git config get --all foo.bar", without "--show-names", in the more modern syntax.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
diff --git i/Documentation/git-config.txt w/Documentation/git-config.txt
index 65c645d461..1ee5c89ba2 100644
--- i/Documentation/git-config.txt
+++ w/Documentation/git-config.txt
@@ -309,7 +309,7 @@ recommended to migrate to the new syntax.
 	Replaced by `git config get [--value=<pattern>] <name>`.
 
 --get-all <name> [<value-pattern>]::
-	Replaced by `git config get [--value=<pattern>] --all --show-names <name>`.
+	Replaced by `git config get [--value=<pattern>] --all <name>`.
 
 --get-regexp <name-regexp>::
 	Replaced by `git config get --all --show-names --regexp <name-regexp>`.
Previous: Junio C HamanoNext: Junio C Hamano
Message 10 of 11 in “doc: replace 3 dash with correct 2 dash in git-config(1)”
  1. doc: replace 3 dash with correct 2 dash in git-config(1)Celeste Liu, Aug 22, 2024
  2. Junio C HamanoAug 22, 2024
  3. Patrick SteinhardtAug 23, 2024
  4. Celeste LiuAug 23, 2024
  5. Celeste LiuAug 23, 2024
  6. Patrick SteinhardtAug 26, 2024
  7. Junio C HamanoAug 26, 2024
  8. Celeste LiuAug 26, 2024
  9. Junio C HamanoAug 26, 2024
  10. git-config.1: --get-all description updateJunio C Hamano, Aug 26, 2024
  11. Junio C HamanoAug 26, 2024

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.