]> git.ipfire.org Git - thirdparty/git.git/commit
config: document --[no-]show-names
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Tue, 1 Jul 2025 15:14:28 +0000 (17:14 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Jul 2025 17:28:38 +0000 (10:28 -0700)
commit88a4ed40c0056eb6563f50ac41f5c09e7aedc418
treec1bf07c990bb70324337038d74a1d85354439c95
parent16bd9f20a403117f2e0d9bcda6c6e621d3763e77
config: document --[no-]show-names

These options were introduced in 4e513890008 (builtin/config:
introduce "get" subcommand, 2024-05-06) but not documented here.
Use the description from the source code.

Document this option and the negated form according to the current
convention.[1]

`--show-names` is also the default when `--get-regexp` is given.  But
don’t mention it here since all the deprecated modes are quarantined in
the “Deprecated Modes” section.

[1]: https://lore.kernel.org/git/xmqqcyct1mtq.fsf@gitster.g/

Acked-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-config.adoc