<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/notmuch-count.c, branch 0.10.2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.10.2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.10.2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2011-11-15T23:20:27Z</updated>
<entry>
<title>cli: add support for --output parameter in notmuch count</title>
<updated>2011-11-15T23:20:27Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2011-11-15T20:08:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=386ad3d6a1a4aff086a87c04c225aba4fa85fb4c'/>
<id>urn:sha1:386ad3d6a1a4aff086a87c04c225aba4fa85fb4c</id>
<content type='text'>
Add support for --output=messages (which remains the default) and
--output=threads to notmuch count.

Signed-off-by: Jani Nikula &lt;jani@nikula.org&gt;
</content>
</entry>
<entry>
<title>cli: drop unused code from notmuch count</title>
<updated>2011-11-15T23:19:28Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2011-11-15T20:08:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e7328d7b006cc54d2cff249a601b114ee341b1db'/>
<id>urn:sha1:e7328d7b006cc54d2cff249a601b114ee341b1db</id>
<content type='text'>
Remove unused code within #if 0 blocks from notmuch count.

Signed-off-by: Jani Nikula &lt;jani@nikula.org&gt;
</content>
</entry>
<entry>
<title>cli: change argument parsing convention for subcommands</title>
<updated>2011-10-22T22:42:54Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2011-10-21T12:19:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=61f0a5b8ee2adf540106a09c5f83fe634da6beb3'/>
<id>urn:sha1:61f0a5b8ee2adf540106a09c5f83fe634da6beb3</id>
<content type='text'>
previously we deleted the subcommand name from argv before passing to
the subcommand. In this version, the deletion is done in the actual
subcommands. Although this causes some duplication of code, it allows
us to be more flexible about how we parse command line arguments in
the subcommand, including possibly using off-the-shelf routines like
getopt_long that expect the name of the command in argv[0].
</content>
</entry>
<entry>
<title>notmuch count: Remove special handling of "*".</title>
<updated>2010-04-10T00:44:01Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-09T23:49:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=13a7b6700eeae0f0b254f248e5abb742b64cd921'/>
<id>urn:sha1:13a7b6700eeae0f0b254f248e5abb742b64cd921</id>
<content type='text'>
From both the implementation and from the documentation. This is
handled generically in the library for all search-based commands,
so count doesn't need special treatment.
</content>
</entry>
<entry>
<title>Have notmuch count default to showing the total.</title>
<updated>2010-04-09T23:28:49Z</updated>
<author>
<name>Mike Kelly</name>
<email>pioto@pioto.org</email>
</author>
<published>2010-04-08T19:39:38Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b15a03fafc2e313264519f030e45ea203af508e2'/>
<id>urn:sha1:b15a03fafc2e313264519f030e45ea203af508e2</id>
<content type='text'>
If no parameters are given to notmuch-count, or just '' or '*' are
given, return the total number of messages in the database.

update notmuch count help
</content>
</entry>
<entry>
<title>Add 'notmuch count' command to show the count of matching messages</title>
<updated>2009-11-23T05:33:54Z</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2009-11-21T07:15:07Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=53f8cc565126db4a003dbfc02850d2bf3b260636'/>
<id>urn:sha1:53f8cc565126db4a003dbfc02850d2bf3b260636</id>
<content type='text'>
Getting the count of matching threads or messages is a fairly
expensive operation. Xapian provides a very efficient mechanism that
returns an approximate value, so use that for this new command.

This returns the number of matching messages, not threads, as that is
cheap to compute.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
</feed>
