[PATCH v2 0/9] cli: alternative address deduplication

Subject: [PATCH v2 0/9] cli: alternative address deduplication

Date: Thu, 3 Sep 2015 22:39:56 +0300

To: notmuch@notmuchmail.org

Cc:

From: Jani Nikula


This is v2 of id:cover.1440859765.git.jani@nikula.org addressing review
from the first (or rfc) version. Test are still missing, but everything
else should be in place. (At least patches 1, 2, and 5 could be pushed
without additional tests.)

There's also one bug fix in patch 7. It is necessary to collect all
results before printing for --deduplicate=address, similar to
--output=count.

BR,
Jani.


Jani Nikula (9):
  cli: g_hash_table_lookup_extended is overkill
  cli: abstract new mailbox creation
  cli: add support for not deduplicating notmuch address results
  man: document notmuch address --deduplicate=(no|mailbox) option
  util: move strcase_equal and strcase_hash to util
  cli: change the data structure for notmuch address deduplication
  cli: add support for deduplicating based on case insensitive address
  man: document notmuch address --deduplicate=address option
  cli: do not sort addresses on --output=count or --deduplicate=address

 doc/man1/notmuch-address.rst |  26 ++++++-
 lib/message-file.c           |  21 -----
 lib/notmuch-private.h        |   1 +
 notmuch-client.h             |   1 +
 notmuch-search.c             | 178 +++++++++++++++++++++++++++++++++++++------
 util/string-util.c           |  21 +++++
 util/string-util.h           |   6 ++
 7 files changed, 207 insertions(+), 47 deletions(-)

-- 
2.1.4


Thread: