]> git.notmuchmail.org Git - notmuch/commit
notmuch search: Avoid printing duplicate author names.
authorCarl Worth <cworth@cworth.org>
Fri, 13 Nov 2009 05:19:42 +0000 (21:19 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 13 Nov 2009 05:19:42 +0000 (21:19 -0800)
commitc3c0966521a4d9e04281ae9ee0abcc33ace67c47
tree42b2b20d388863748c88bdcbf1e37b17eaab81e1
parentec6d3506db0b614ff754293cfb83fe9e93dc66c8
notmuch search: Avoid printing duplicate author names.

We add a hash to the thread object so that we can detect author names
that have already been added to the list, and avoid adding them
redundantly. This avoids the giant chain of "bugzilla-daemon,
bugzilla-daemon, bugzilla-daemon, bugzilla-daemon, ..." author lists
that we would get otherwise, for example.
lib/thread.cc