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

Re: Empty config sections are neither deleted nor reused

From
Jonas Bernoulli <jonas@bernoul.li>
Date
May 14, 2016, 13:21 UTC
Message-ID
<877fewzseg.fsf@bernoul.li>
In-Reply-To
<xmqqeg95aor6.fsf@gitster.mtv.corp.google.com>
> The configuration sections can have comments and they are preserved
> even when they become empty.  Adding something unrelated will still
> make it appear the stale comment applies to it.

Now that you mention it, I think I have read that before. Unfortunately I forgot about it until you reminded me. I would still prefer if empty sections were removed and/or reused provided no comment is nearby, but now that you reminded me why the current behavior is how it is, I can live with it.

Thanks for the link.
  Jonas
Previous: Junio C HamanoNext: Matthieu Moy
Message 3 of 6 in “Empty config sections are neither deleted nor reused”
  1. Jonas BernoulliMay 13, 2016
  2. Junio C HamanoMay 13, 2016
  3. Jonas BernoulliMay 14, 2016
  4. Matthieu MoyMay 14, 2016
  5. Junio C HamanoMay 14, 2016
  6. Jonas BernoulliMay 14, 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.