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

Re: Minor bug with help.autocorrect.

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 24, 2015, 06:36 UTC
Message-ID
<xmqqpp2d5h22.fsf@gitster.dls.corp.google.com>
In-Reply-To
<20150824054327.GB14403@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 10 quoted lines
> Yeah, I agree these are the only two sane fixes. Plumbing the quiet flag
> through does seem really invasive; every "git_config_get_foo" variant
> would have to learn it. Probably it's too gross to have a global like:
>
>   config_lax_mode = 1;
>   git_config_get_string(key.buf, &v);
>   config_lax_mode = 0;
>
> That makes a nice tidy patch, but I have a feeling we would regret it
> later. :)

Yeah, I do think the double-checking the patch in your follow-up does is not so bad. Thanks for following it through (now I must remember not to drop these patches ;-).

Previous: Jeff King
Message 7 of 7 in “Minor bug with help.autocorrect.”
  1. Bjørnar SnoksrudAug 19, 2015
  2. Junio C HamanoAug 21, 2015
  3. Jeff KingAug 21, 2015
  4. Junio C HamanoAug 21, 2015
  5. Jeff KingAug 24, 2015
  6. Jeff KingAug 24, 2015
  7. Junio C HamanoAug 24, 2015

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.