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