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

Re: Minor bug: git config ignores empty sections

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 15, 2016, 20:49 UTC
Message-ID
<xmqqshu5g3lc.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20160815185500.htgrz3t2wkztg4ww@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 6 quoted lines
>> So a comment outside [section "name"] is tricky; it needs some
>> mechanism (or convention) to tell us if it is about the particular
>> section, or it is about the location in the configuration file.
>
> Keep in mind that even "outside" is hard, because sections do not
> explicitly close.

Yes, that was what I wanted to say. We'd be deep in the "convention" territory.

Previous: Jeff KingNext: Eli Barzilay
Message 8 of 12 in “Minor bug: git config ignores empty sections”
  1. Eli BarzilayAug 15, 2016
  2. Jeff KingAug 15, 2016
  3. Andreas SchwabAug 15, 2016
  4. Jeff KingAug 15, 2016
  5. Junio C HamanoAug 15, 2016
  6. Andreas SchwabAug 15, 2016
  7. Jeff KingAug 15, 2016
  8. Junio C HamanoAug 15, 2016
  9. Eli BarzilayAug 16, 2016
  10. Jeff KingAug 16, 2016
  11. Jakub NarębskiAug 21, 2016
  12. Junio C HamanoAug 15, 2016

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.