]> git.notmuchmail.org Git - notmuch/commit
cli/insert: add post-insert hook
authorJani Nikula <jani@nikula.org>
Sun, 28 Sep 2014 14:40:59 +0000 (17:40 +0300)
committerDavid Bremner <david@tethera.net>
Tue, 28 Oct 2014 18:19:30 +0000 (19:19 +0100)
commit19c09d870f18f549df3d9f5a3a30a20f7279b07a
tree2172a8fd4f8ef1ce02aa3bb899034e06217378f9
parent50eedb48ec7b8b961d3f865d75bb03a57b062d4f
cli/insert: add post-insert hook

The post-new hook might no longer be needed or run very often if
notmuch insert is being used. Therefore a post-insert hook is needed
(arguably pre-insert not so much, so don't add one). Also add the
--no-hooks option to skip hooks.
doc/man1/notmuch-insert.rst
doc/man5/notmuch-hooks.rst
notmuch-insert.c