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

Re: [PATCH] config: add support for --bool and --int while setting values

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 27, 2007, 02:18 UTC
Message-ID
<7vk5tqrvgs.fsf@assigned-by-dhcp.pobox.com>
In-Reply-To
<7vbqf2ta9f.fsf@assigned-by-dhcp.pobox.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 7 quoted lines
> Frank Lichtenheld <frank@lichtenheld.de> writes:
>
>> Something that I forgot to mention in the previous mail:
>> One real problem with the patch is that it expands the k,m,g suffixes
>> for integer values. It probably shouldn't do that.
>
> How about doing something like this, then?

Nah, that wouldn't work, as normalize_value's return value is parsed and quoted. Grumble....

Previous: Junio C Hamano
Message 5 of 5 in “config: add support for --bool and --int while setting values”
  1. config: add support for --bool and --int while setting valuesFrank Lichtenheld, Jun 25, 2007
  2. Johannes SixtJun 25, 2007
  3. Frank LichtenheldJun 25, 2007
  4. Junio C HamanoJun 27, 2007
  5. Junio C HamanoJun 27, 2007

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.