From: Rune Philosof <rune@philosof.dk>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 1/2] Complain in the tests about git config not failing with, keys without a section
Date: Mon, 05 Mar 2012 08:59:29 +0100 [thread overview]
Message-ID: <4F547261.7000506@philosof.dk> (raw)
In-Reply-To: <7v8vjiethh.fsf@alter.siamese.dyndns.org>
On 02-03-2012 19:40, Junio C Hamano wrote:
>> 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.
>
> the behaviour for a single level name is just "undefined", which is very different from "must fail".
Quoting from `git help config`:
This command will fail if:
3. no section was provided,
...
under SYNTAX
Each variable must belong to some section, which means that there must
be a section header before the first
setting of a variable.
--
Greeting
Rune Philosof
next prev parent reply other threads:[~2012-03-05 7:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-02 10:57 [PATCH 1/2] Complain in the tests about git config not failing with, keys without a section Rune Schjellerup Philosof
2012-03-02 18:40 ` Junio C Hamano
2012-03-05 7:59 ` Rune Philosof [this message]
2012-03-05 10:37 ` Jeff King
2012-03-05 19:29 ` Junio C Hamano
2012-03-06 8:06 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F547261.7000506@philosof.dk \
--to=rune@philosof.dk \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.