]> git.cworth.org Git - obsolete/notmuch-old/commitdiff
tag: Automatically limit to messages whose tags will actually change.
authorAustin Clements <amdragon@MIT.EDU>
Wed, 9 Nov 2011 13:44:35 +0000 (08:44 -0500)
committerDavid Bremner <bremner@debian.org>
Mon, 28 Nov 2011 14:54:42 +0000 (06:54 -0800)
This optimizes the user's tagging query to exclude messages that won't
be affected by the tagging operation, saving computation and IO for
redundant tagging operations.

For example,
  notmuch tag +notmuch to:notmuch@notmuchmail.org
will now use the query
  ( to:notmuch@notmuchmail.org ) and (not tag:"notmuch")

In the past, we've often suggested that people do this exact
transformation by hand for slow tagging operations.  This makes that
unnecessary.


No differences found