]> git.ipfire.org Git - thirdparty/git.git/commit
config: fix suggestion for failed set of multi-valued option
authorRené Scharfe <l.s.r@web.de>
Mon, 24 Nov 2025 20:33:24 +0000 (21:33 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Nov 2025 22:59:02 +0000 (14:59 -0800)
commitdf963f0df4756fa751bfbb39e104d004e3f7d60b
tree49ec460f6af1732bf59b031913ec2d29df4afb3b
parentbb5c624209fcaebd60b9572b2cc8c61086e39b57
config: fix suggestion for failed set of multi-valued option

The command "git config set <name> <value>" fails for an option that has
multiple values.  List the "git config set" flags that can be used,
instead of old-style "git config" actions.

Reported-by: Paul Wintz <pwintz@ucsc.edu>
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/config.c