]> git.99rst.org Git - git.git/commit
config: use --value=<pattern> consistently
authorKristoffer Haugsbakk <redacted>
Tue, 1 Jul 2025 15:14:29 +0000 (17:14 +0200)
committerJunio C Hamano <redacted>
Tue, 1 Jul 2025 17:28:41 +0000 (10:28 -0700)
commitf322f86e30b7667ef0ae519ff87796b2f0a0632d
tree24a90897adb67bea9b2ac302b32d9010ebf9fde9
parent88a4ed40c0056eb6563f50ac41f5c09e7aedc418
config: use --value=<pattern> consistently

This option was introduced in a series of commits from fe3ccc7aab (Merge
branch 'ps/config-subcommands', 2024-05-15).  But two styles were used
for the value provided to the option:

1. Synopsis: `--value=<value>`
2. Deprecated Modes: `--value=<pattern>`

(2) is also used in the synopsis on the command.

Use (2) consistently throughout since it’s a pattern in the general
case (`value` sounds more generic).

Acked-by: Patrick Steinhardt <redacted>
Signed-off-by: Kristoffer Haugsbakk <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/git-config.adoc
builtin/config.c
git clone https://git.99rst.org/PROJECT