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

Re: What's cooking in git.git (Aug 2013, #06; Tue, 27)

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 27, 2013, 22:32 UTC
Message-ID
<xmqqppsyahor.fsf@gitster.dls.corp.google.com>
In-Reply-To
<20130827214808.GA26350@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> I don't feel too strongly either way. I mostly kept the range checks for
> --int because that is how the code already worked, and I assumed that
> was what was desired. But given what I know of the history of the config
> code, it is probably a completely random side effect of how it is
> implemented. :)
;-)
> I can try to prepare a series going in that direction (we still need to
> fix the internal truncation that currently happens, though).

Yeah, allowing range checks to allow those who do set using "git config" from the command line to protect themselves is in theory a good idea, but in practice that means they need to know the internal type (and they need to know to pass --int in the first place), so it may be a losing proposition.

Show 7 quoted lines
> I do not know if it is so serious a fix that you need to go back to
> v1.8.2 series, but I think it is definitely maint-worthy. I was worried
> initially that the second part of the patch would involve too much
> refactoring for maint, but it actually turned out pretty simple.
>
> I'll prepare a squashed version that I think should be suitable for
> maint.
Thanks.
Previous: Jeff KingNext: Johannes Sixt
Message 5 of 10 in “What's cooking in git.git (Aug 2013, #06; Tue, 27)”
  1. Junio C HamanoAug 27, 2013
  2. Jeff KingAug 27, 2013
  3. Junio C HamanoAug 27, 2013
  4. Jeff KingAug 27, 2013
  5. Junio C HamanoAug 27, 2013
  6. Johannes SixtAug 28, 2013
  7. Antoine PelisseAug 27, 2013
  8. Junio C HamanoAug 27, 2013
  9. Junio C HamanoAug 27, 2013
  10. Kacper KornetAug 28, 2013

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.