aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-restore.c
diff options
context:
space:
mode:
authorGravatar Jani Nikula <jani@nikula.org>2012-03-27 00:04:09 +0300
committerGravatar David Bremner <bremner@debian.org>2012-03-30 21:20:36 -0300
commit8e3ff8fb03dc647f1daea4665c35a2214473ced8 (patch)
treeae0e9a54e6765e4783f0535127dff044a8d73052 /notmuch-restore.c
parent918b80359727de2dd87f26a252de8faee2eff78c (diff)
cli: refactor "notmuch tag" data structures for tagging operations
To simplify code, keep all tagging operations in a single array instead of separate add and remove arrays. Apply tag changes in the order specified on the command line, instead of first removing and then adding the tags. This results in a minor functional change: If a tag is both added and removed, the last specified operation is now used. Previously the tag was always added. Change the relevant test to reflect the new behaviour. Signed-off-by: Jani Nikula <jani@nikula.org>
Diffstat (limited to 'notmuch-restore.c')
0 files changed, 0 insertions, 0 deletions