Re: [PATCH v3 0/2] notmuch hooks

Subject: Re: [PATCH v3 0/2] notmuch hooks

Date: Thu, 08 Dec 2011 08:29:04 -0800

To: Tomi Ollila, Jani Nikula, notmuch@notmuchmail.org

Cc:

From: Jameson Graef Rollins


On Thu, 08 Dec 2011 10:49:43 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote:
> If the hooks are named as 'pre-new.sample' and 'post-new.sample' and
> executable then users need just copy the file and start editing (and
> not remember to do any chmod's)...

It seems simpler and cleaner to me to just have notmuch new check for
executability, and give the example scripts the proper names.  That's
certainly what git does, so there's already precedent, and since we're
modeling this on git it seems good to keep things consistent.

jamie.
part-000.sig (application/pgp-signature)

Thread: