Re: [PATCH] sample pre-commit hook: Use --bool when retrieving config var

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

 



On Tue, Sep 24, 2013 at 9:22 PM, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:
> Johan Herland wrote:
>> Signed-off-by: Johan Herland <johan@xxxxxxxxxxx>
>
> 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@xxxxxxxxxxx>
www.herland.net
--
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]