All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Pierre Habouzit <madcoder@debian.org>
Cc: Git ML <git@vger.kernel.org>
Subject: Re: [bug] generic issue with git_config handlers
Date: Thu, 31 Jan 2008 01:25:32 -0800	[thread overview]
Message-ID: <7v1w7ye48j.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <20080131091627.GB24403@artemis.madism.org> (Pierre Habouzit's message of "Thu, 31 Jan 2008 10:16:27 +0100")

Pierre Habouzit <madcoder@debian.org> writes:

>   One of my co-workers stumbled upon a misfeature of the git config
> parser. The following syntax is allowed:
>
>     [section]
> 	 foo

Yeah, that is how "truth" value of boolean is spelled.

> [user]
>     name

That's very unfortunate.  Whatever is expecting string value
should check for NULL.  Fix should probably be easy enough for
any git-hacker-wannabe to tackle ;-)

  reply	other threads:[~2008-01-31  9:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31  9:16 [bug] generic issue with git_config handlers Pierre Habouzit
2008-01-31  9:25 ` Junio C Hamano [this message]
2008-01-31 10:10   ` Pierre Habouzit
2008-02-04  6:27     ` Christian Couder
2008-02-04 17:01       ` Johannes Sixt
2008-02-04 23:13         ` Christian Couder
2008-02-05  0:03           ` Junio C Hamano
2008-02-07  5:45             ` Christian Couder

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=7v1w7ye48j.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=madcoder@debian.org \
    /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.