git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Andrew Klotz <agc.klotz@gmail.com>
Date
Jan 23, 2021, 23:15 UTC
Message-ID
<5f00282b-2e65-929a-5331-df50c4a8d8cc@gmail.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?

Message 1 of 1 in “Re: [PATCH 1/2] config: improve error message for boolean config”
  1. Andrew KlotzJan 23, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.