Re: [PATCH] Make git config fail on variables with no section, as documented

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sun, 26 Jul 2009, Alex Vandiver wrote:

> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]