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

2013-09-25 Thread Johan Herland
On Tue, Sep 24, 2013 at 9:22 PM, Jonathan Nieder wrote: > Johan Herland wrote: >> Signed-off-by: Johan Herland > > Thanks. > > What symptoms does this alleviate? Is this to allow configurations like > > [hooks] > allowNonAscii = 1 > > and > > [hooks] >

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

2013-09-24 Thread Jonathan Nieder
Johan Herland wrote: > Signed-off-by: Johan Herland 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 somethi

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

2013-09-24 Thread Johan Herland
Signed-off-by: Johan Herland --- Resend/reminder... ...Johan templates/hooks--pre-commit.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/hooks--pre-commit.sample b/templates/hooks--pre-commit.sample index 586e3bf..68d62d5 100755 --- a/templates/hooks--pre-

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

2013-09-20 Thread Johan Herland
Signed-off-by: Johan Herland --- templates/hooks--pre-commit.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/hooks--pre-commit.sample b/templates/hooks--pre-commit.sample index 586e3bf..68d62d5 100755 --- a/templates/hooks--pre-commit.sample +++ b/templates/h