# Re: [PATCH 1/2] config: improve error message for boolean config

1 messages from 2021-01-23 to 2021-01-23. Participants: Andrew Klotz.
Thread: https://gitlist.dev/t/55038

## Andrew Klotz, 2021-01-23 23:15

Subject: Re: [PATCH 1/2] config: improve error message for boolean config
Message-ID: <5f00282b-2e65-929a-5331-df50c4a8d8cc@gmail.com>
URL: https://gitlist.dev/e/5f00282b-2e65-929a-5331-df50c4a8d8cc%40gmail.com

```
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?


```
