diff mbox series

git-config.1: --get-all description update

Message ID xmqqplpvjimw.fsf_-_@gitster.g (mailing list archive)
State Accepted
Commit 686e9f616fea49f892ee400b4a5424ffef8dc3bb
Headers show
Series git-config.1: --get-all description update | expand

Commit Message

Junio C Hamano Aug. 26, 2024, 5:31 p.m. UTC
"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 mbox series

Patch

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>`.