]> git.cworth.org Git - notmuch/commit
cli: bail out and propagate tagging errors in notmuch tag
authorJani Nikula <jani@nikula.org>
Tue, 8 Jan 2013 21:41:54 +0000 (23:41 +0200)
committerDavid Bremner <bremner@debian.org>
Thu, 10 Jan 2013 03:08:48 +0000 (23:08 -0400)
commit4e9fe60422d9092737550bd8a3b8525ee2a20daf
tree055c49c39741f1137e5d6e092390ec0ac312ca25
parentff3cc5534acf6132c75f814944ca5ed300cb51c0
cli: bail out and propagate tagging errors in notmuch tag

Checking and propagating tag_op_list_apply() errors is especially
important with batch tagging, as the processing of the batch input
would not stop otherwise. Additionally this sets the exit code, which
is useful in scripts.

Amended by: David Bremner
notmuch-tag.c