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
Frank Lichtenheld <frank@lichtenheld.de>
Date
Jun 25, 2007, 16:14 UTC
Message-ID
<20070625161401.GW19725@planck.djpig.de>
In-Reply-To
<467FCBEA.906B14@eudaptics.com>
On Mon, Jun 25, 2007 at 04:06:34PM +0200, Johannes Sixt wrote:
Show 6 quoted lines
> Frank Lichtenheld wrote:
> > 
> > Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de>
> 
> Please excuse if I'm missing the big picture, but why do we need this
> change?
- Of course the user or script calling git-config can do the
  normalization and error checking, if they want to. But I would
  prefer to have it available in git-config.
- I would prefer that these options wouldn't be silently ignored,
  because that can be confusing (at least it is documented now, but
  still). So we should either using them or error out. I prefer the former.

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.

Gruesse,
-- 
Frank Lichtenheld <frank@lichtenheld.de>
www: http://www.djpig.de/
Previous: Johannes SixtNext: Junio C Hamano
Message 3 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.