]> git.ipfire.org Git - thirdparty/git.git/commit
config: format bools or strings in helper
authorDerrick Stolee <stolee@gmail.com>
Mon, 23 Feb 2026 12:26:49 +0000 (12:26 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Feb 2026 21:23:41 +0000 (13:23 -0800)
commit9c7fc23c24cc0cfeaf5fe32a96fbfe2709a3f93d
treeb0026dca5bc3011b90f417a6e902236443de492f
parent5fb7bdcca98e63fedee22f16a34ab5fadbee54e0
config: format bools or strings in helper

Move the logic for formatting bool-or-string config values into a
helper. This parsing has always been gentle, so this is not unlocking
new behavior. This extraction is only to match the formatting of the
other cases that do need a behavior change.

Signed-off-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/config.c