From: Jeff King <peff@peff.net>
To: Stefan Bienert <bienert@zbh.uni-hamburg.de>
Cc: git@vger.kernel.org
Subject: Re: pre-commit hook and Aspell
Date: Fri, 30 Jul 2010 14:21:16 -0400 [thread overview]
Message-ID: <20100730182116.GA18544@coredump.intra.peff.net> (raw)
In-Reply-To: <4C529290.7040509@zbh.uni-hamburg.de>
On Fri, Jul 30, 2010 at 10:51:28AM +0200, Stefan Bienert wrote:
> I'm trying to setup a hook for my project which forces me to check the
> spelling of text (here: TeX) files, whenever they change. As
> spellchecker I use Aspell, which is giving me a headache at the moment.
> The problem is: Running the pre-commit script in the shell works,
> started as hook does not.
Hooks run without stdio connected to the tty. Have you tried doing
"aspell </dev/tty >/dev/tty" in your hook?
-Peff
prev parent reply other threads:[~2010-07-30 18:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-30 8:51 pre-commit hook and Aspell Stefan Bienert
2010-07-30 15:59 ` Junio C Hamano
2010-07-30 18:21 ` Jeff King [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100730182116.GA18544@coredump.intra.peff.net \
--to=peff@peff.net \
--cc=bienert@zbh.uni-hamburg.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).