Re: [PATCH-v2 4/4] git-commit: add a prepare-commit-msg hook
- From
Paolo Bonzini <bonzini@gnu.org>
- Date
- Feb 5, 2008, 15:26 UTC
- Message-ID
- <47A88032.107@gnu.org>
- In-Reply-To
- <alpine.LSU.1.00.0802051520520.8543@racer.site>
> I might be missing something
No, you are not.
> but should this not be solved by having the > prepare-commit-msg exit 0? I mean, it is conceivable that such a bad > error occurs in the hook that the commit should be stopped then and there.
So you say, don't suppress the hook with --no-verify *and* exit if the hook returns 1, even if --no-verify is given. That's fine by me.
Paolo