Skip to contentSkip to conversation

config: improve error message for boolean config

PATCH Andrew Klotz 1 participant 1 message Jan 23, 2021

lore
Share & tools
lore
#0 lore raw

Thanks for the feedback,

I updated the branch and moved:

 - boolean error message change out of git_config_bool_or_int to just in git_config_bool

 - added die_bad_boolean instead of modifying die_bad_number.

The advantage here is we only use a bool error message when we know the value is a bool. Is this more along the lines of the suggestion?