Re: [PATCH 1/1] Add commit log message spell checking feature.
- From
- Steven Drake <sdrake@xnet.co.nz>
- Date
- Mar 3, 2010, 07:21 UTC
- Message-ID
- <alpine.LNX.2.00.1003032018330.21953@vqena.qenxr.bet.am>
- In-Reply-To
- <20100228163339.GA9399@coredump.intra.peff.net>
On Sun, 28 Feb 2010, Jeff King wrote:
Show 7 quoted lines
> On Sun, Feb 28, 2010 at 01:03:00PM +1300, Steven Drake wrote: > > > Add 'git commit --spell' to run a spell checker on commit log message. > > The `commit.spell` configuration variable can be used to enable the spell > > checker by default and can be turned off by '--no-spell'. > > Isn't this exactly the sort of thing the commit-msg hook is for?
Plus as I have just found out all hooks are run with stdin as '/dev/null' so there is no way of running an interactive command like 'ispell' from a hook!
-- Steven 1: Linux - will work for fish. 2: The Linux penguin - looks stuffed to the brim with herring. ( make your own conclusions )