]> git.cworth.org Git - notmuch/commit
notmuch-restore: implement --accumulate option
authorDavid Bremner <bremner@debian.org>
Wed, 19 Oct 2011 21:18:24 +0000 (18:18 -0300)
committerDavid Bremner <bremner@debian.org>
Sun, 23 Oct 2011 13:27:57 +0000 (10:27 -0300)
commita77d9adcacf001025092087fb6c1d77743cdf699
tree1aefc7985d08b1cd9f05fa09859bab667c12bcf0
parent42c80dfd07740ed07cf58eefd0c30dc78cbafc08
notmuch-restore: implement --accumulate option

Modify command line argument handling to take a --accumulate flag.
Test for extra arguments beyond the input file.

The --accumulate switch causes the union of the existing and new tags to be
applied, instead of replacing each message's tags as they are read in from the
dump file.

Based on a patch by Thomas Schwinge:

      id:"1317317857-29636-1-git-send-email-thomas@schwinge.name"
notmuch-restore.c
test/dump-restore