Re: [PATCH 1/2] Complain in the tests about git config not failing with, keys without a section

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

 



Rune Schjellerup Philosof <rune@xxxxxxxxxxx> writes:

> From c4fc13a5a1e8c1eab9873232e6e8b7e0523cd6ea Mon Sep 17 00:00:00 2001
> From: Rune Philosof <rune.git@xxxxxxxxxxx>
> Date: Fri, 2 Mar 2012 10:42:23 +0100
> Subject: [PATCH 1/2] Complain in the tests about git config not failing with
>  keys without a section

What are these lines?

>
> git is supposed to fail when having a key without a section, but does not.

I do not think anybody said it is supposed to fail in this case.

Historically, we always allowed single level names in our configuration
parser, at least for reading, from pretty much day one, I think.  The
documentation only talks about two and three level names, because we do
not use such a name ourselves in the code, and the behaviour for a single
level name is just "undefined", which is very different from "must fail".
--
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]