Re: [PATCH 1/2] Complain in the tests about git config not failing with, keys without a section
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 5, 2012, 19:29 UTC
- Message-ID
- <7veht626ex.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20120305103714.GA30463@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> For "git config --list", as you noticed, we include it in the output. I > suspect we should simply omit it as cruft. But we could also issue a > warning, and/or die.
A new warning might be worth if we were to suddenly start omitting them from --list output, but dying won't fly well.
People have been happily lived with their config with such lines that do not affect what git does, but a new version of git starts to "die" on them. For what purpose? Whom is such a change designed to help?