config doc: value-pattern is not necessarily a regexp
authorJunio C Hamano <redacted>
Wed, 25 Nov 2020 23:01:31 +0000 (15:01 -0800)
committerJunio C Hamano <redacted>
Wed, 25 Nov 2020 23:01:31 +0000 (15:01 -0800)
commitc902618795eee5dbc88ded238d0a359091ab0dee
tree8badf4e58595918fdd0e1357235c5c7846f6fac5
parent3f1bae1dc3432acf7c586cd938e524f8d30eed31
config doc: value-pattern is not necessarily a regexp

The introductory part of the "git config --help" mentions the
optional value-pattern argument, but give no hint that it can be
something other than a regular expression (worse, it just says
"POSIX regexp", which usually means BRE but the regexp the command
takes is ERE).  Also, it needs to be documented that the '!' prefix
to negate the match, which is only mentioned in this part of the
document, works only with regexp and not with the --fixed-value.

Signed-off-by: Junio C Hamano <redacted>
Documentation/git-config.txt
git clone https://git.99rst.org/PROJECT