Re: [PATCH] sample pre-commit hook: Use --bool when retrieving config var
On Tue, Sep 24, 2013 at 9:22 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 16 quoted lines
> Johan Herland wrote:
>> Signed-off-by: Johan Herland <johan@herland.net>
>
> Thanks.
>
> What symptoms does this alleviate? Is this to allow configurations like
>
> [hooks]
> allowNonAscii = 1
>
> and
>
> [hooks]
> allowNonAscii
>
> to do the expected thing, or is it something more subtle than that?
Nothing subtle. Just what you list. And for consistency with the other sample hooks' use of "git config".
...Johan
--
Johan Herland, <johan@herland.net>
www.herland.net