notmuch restore was skipping entries with no new tags
authorKeith Packard <keithp@keithp.com>
Mon, 16 Nov 2009 19:53:35 +0000 (11:53 -0800)
committerCarl Worth <cworth@cworth.org>
Mon, 16 Nov 2009 20:03:05 +0000 (12:03 -0800)
commitc004e1e04b9d1b80ea65b26d65a9ec20641cc64c
treea2ceaf67ca6b66ba44ae35ed7c250fab3d2159db
parentd5068983b87c76798399d1d4d26e638e2feb6e0d
notmuch restore was skipping entries with no new tags

notmuch restore used to only add tags; now that it clears existing
tags, it needs to operate on messages even if the new tag list is empty.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Carl Worth <cworth@cworth.org>:
I fixed up the indentation here, (someday we might switch to 8-space
indents, but we haven't yet).
notmuch-restore.c