Re: [PATCH] Make git config fail on variables with no section, as documented
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 26, 2009, 16:49 UTC
- Message-ID
- <alpine.DEB.1.00.0907261849110.8306@pacific.mpi-cbg.de>
- In-Reply-To
- <1248625102-472-1-git-send-email-alex@chmrr.net>
Hi,
On Sun, 26 Jul 2009, Alex Vandiver wrote:
Show 7 quoted lines
> Documentation/config.txt claims: > > Each variable must belong to some section, which means that there > must be a section header before the first setting of a variable. > > However, the parsing code did not enforce this. This change makes it > a syntax error to defined a variable before the first section header.
Is there any downside in allowing this?
Ciao, Dscho