]> git.ipfire.org Git - thirdparty/git.git/commit
config: format bools or ints gently
authorDerrick Stolee <stolee@gmail.com>
Mon, 23 Feb 2026 12:26:48 +0000 (12:26 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Feb 2026 21:23:41 +0000 (13:23 -0800)
commit5fb7bdcca98e63fedee22f16a34ab5fadbee54e0
treeb82a5750496494d3cec4a7eaefbdb684711e29e2
parent53959a8ba22d80f78daa693dfc2f76fd3afe80e2
config: format bools or ints gently

Move the logic for formatting bool-or-int config values into a helper
method and use gentle parsing when needed.

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