git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/1] Add commit log message spell checking feature.

From
SDSteven 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 )
Previous: Steven DrakeNext: Jeff King
Message 5 of 7 in “Commit log message typos and spell mistakes”
  1. Steven DrakeFeb 28, 2010
  2. 1/1 Add commit log message spell checking feature.Steven Drake, Feb 28, 2010
  3. Jeff KingFeb 28, 2010
  4. Steven DrakeMar 3, 2010
  5. Steven DrakeMar 3, 2010
  6. Jeff KingMar 3, 2010
  7. Teemu LikonenMar 3, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.