Re: [PATCH] git-commit: add a prepare-commit-msg hook
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 18, 2008, 18:06 UTC
- Message-ID
- <alpine.LSU.1.00.0801181804410.5731@racer.site>
- In-Reply-To
- <4790D5CF.8000602@gnu.org>
Hi,
On Fri, 18 Jan 2008, Paolo Bonzini wrote:
Show 6 quoted lines
> > > In the message hook, just grep if the template was already added. If it > > was, just return. If it was not, add it. > > Ah, so you want me to always type ":q!" to exit and unnecessarily > complicate the commit-msg hook. Cunning, but no, thanks.
No, my intention was to avoid complications. Like introducing yet another commit hook. I like clean, elegant semantics. I don't like overbloated semantics. That's why I speak up whenever I fear it is entering git.
Hth, Dscho