Skip to content

Commit 5ba6e6c

Browse files
LemmingAvalanchegitster
authored andcommitted
config: document --[no-]value
These options were introduced in a series of commits from fe3ccc7 (Merge branch 'ps/config-subcommands', 2024-05-15).[1] But they were not documented here. Document this option and the negated form according to the current convention.[2] [1]: `--value` is a replacement for the `value-pattern` positional argument [2]: https://lore.kernel.org/git/[email protected]/ Acked-by: Patrick Steinhardt <[email protected]> Signed-off-by: Kristoffer Haugsbakk <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f322f86 commit 5ba6e6c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Documentation/git-config.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,14 @@ See also <<FILES>>.
200200
section in linkgit:gitrevisions[7] for a more complete list of
201201
ways to spell blob names.
202202

203+
`--value=<pattern>`::
204+
`--no-value`::
205+
With `get`, `set`, and `unset`, match only against
206+
_<pattern>_. The pattern is an extended regular expression unless
207+
`--fixed-value` is given.
208+
+
209+
Use `--no-value` to unset _<pattern>_.
210+
203211
--fixed-value::
204212
When used with the `value-pattern` argument, treat `value-pattern` as
205213
an exact string instead of a regular expression. This will restrict

0 commit comments

Comments
 (0)