]> Kevux Git Server - rit/commit
config: format colors quietly
authorDerrick Stolee <stolee@gmail.com>
Mon, 23 Feb 2026 12:26:53 +0000 (12:26 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Feb 2026 21:23:41 +0000 (13:23 -0800)
commit2d4ab5a885f365cb66156ff4553f88c000dfa307
tree01fbe8b58a34f7738576297b69567c28ceba6978
parentdb45e4908d6711ddc3094cb079c85278691c8267
config: format colors quietly

Move the logic for formatting color config value into a helper method
and use quiet parsing when needed.

This removes error messages when parsing a list of config values that do
not match color formats.

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