[PATCH v3 0/2] notmuch hooks

Jameson Graef Rollins jrollins at finestructure.net
Thu Dec 8 08:29:04 PST 2011


On Thu, 08 Dec 2011 10:49:43 +0200, Tomi Ollila <tomi.ollila at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111208/110d6e2c/attachment-0001.pgp>


More information about the notmuch mailing list