<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/notmuch-new.c, branch 0.18</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.18</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.18'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2014-04-12T10:59:44Z</updated>
<entry>
<title>notmuch-new: backup tags before database upgrade</title>
<updated>2014-04-12T10:59:44Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2014-04-01T14:06:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a7eaa4d84a909275fe0c089f8dbf346ebcdc69c6'/>
<id>urn:sha1:a7eaa4d84a909275fe0c089f8dbf346ebcdc69c6</id>
<content type='text'>
All we do here is calculate the backup filename, and call the existing
dump routine.

Also take the opportunity to add a message about being safe to
interrupt.
</content>
</entry>
<entry>
<title>cli: make sure notmuch new and insert don't add invalid tags</title>
<updated>2014-03-06T11:42:10Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-02-23T16:55:22Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e8ec38c25afefacff8c2adb6e4f9e53df9870746'/>
<id>urn:sha1:e8ec38c25afefacff8c2adb6e4f9e53df9870746</id>
<content type='text'>
Check new.tags configuration values before doing anything, and bail
out on invalid values.
</content>
</entry>
<entry>
<title>new: Detect dirent.d_type support at configure time</title>
<updated>2014-02-14T12:42:45Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2014-02-13T06:50:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b1fa95721bd54c60c367ae4fb54279404656a070'/>
<id>urn:sha1:b1fa95721bd54c60c367ae4fb54279404656a070</id>
<content type='text'>
Support for dirent.d_type is OS-specific.  Previously, we used
_DIRENT_HAVE_D_TYPE to detect support for this, but this is apparently
a glic-ism (FreeBSD, for example, supports d_type, but does not define
this).  Since there's no cross-platform way to detect support for
dirent.d_type, detect it using a test compile at configure time.
</content>
</entry>
<entry>
<title>cli: add --quiet option to notmuch new</title>
<updated>2014-01-26T13:49:00Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-01-19T20:32:27Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e932fca54fc88bba75eda01c3e7f6ddf92a56759'/>
<id>urn:sha1:e932fca54fc88bba75eda01c3e7f6ddf92a56759</id>
<content type='text'>
Tie it to --verbose (resulting in verbosity levels of quiet, normal,
and verbose) but leave --debug orthogonal. Do some drive-by cleaning
while at it.
</content>
</entry>
<entry>
<title>cli: abstract notmuch new result printing</title>
<updated>2014-01-26T13:44:42Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-01-19T20:32:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=12621980ee19aa36c76ad16500c4f5a43ca6c6ca'/>
<id>urn:sha1:12621980ee19aa36c76ad16500c4f5a43ca6c6ca</id>
<content type='text'>
The notmuch_new_command() function has grown huge, chop it up a
bit. This should also be helpful when adding a --quiet option to
notmuch new. No functional changes.
</content>
</entry>
<entry>
<title>cli: for loop is more customary</title>
<updated>2014-01-26T13:41:29Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-01-19T20:32:25Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f849b371cc78fac73d9a8e0467bc0e6232ced18b'/>
<id>urn:sha1:f849b371cc78fac73d9a8e0467bc0e6232ced18b</id>
<content type='text'>
With the happy day stop condition within the while, it was
confusing. Switch to the paradigm for loop. No functional changes.
</content>
</entry>
<entry>
<title>cli: use dirent_type in count_files too</title>
<updated>2014-01-26T13:38:22Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-01-19T20:32:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0b247cb411fa7530003bad920bd2c85ed46187b5'/>
<id>urn:sha1:0b247cb411fa7530003bad920bd2c85ed46187b5</id>
<content type='text'>
Avoid an extra stat per file, if possible, also when counting the
files for initial indexing.
</content>
</entry>
<entry>
<title>cli: only check the ignore list if needed</title>
<updated>2014-01-26T13:37:01Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-01-19T20:32:23Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=65ebd34329e31a9a8a6f4a2d1e255ef273b0678e'/>
<id>urn:sha1:65ebd34329e31a9a8a6f4a2d1e255ef273b0678e</id>
<content type='text'>
Premature optimization is the root of all evil, but this is simple
enough.
</content>
</entry>
<entry>
<title>cli: extract single message addition in notmuch new to clarify code</title>
<updated>2014-01-26T13:36:51Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-01-19T20:32:22Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=caf5514a3692d6ad6be257a24a5b5a44164bb90a'/>
<id>urn:sha1:caf5514a3692d6ad6be257a24a5b5a44164bb90a</id>
<content type='text'>
The add_files() function has grown huge, chop it up a bit. No
functional changes.
</content>
</entry>
<entry>
<title>cli: clean up exit status code returned by the cli commands</title>
<updated>2014-01-18T18:45:26Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-01-10T21:28:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c7453773064efbd0b2cd17b15ba483edbd28ce1e'/>
<id>urn:sha1:c7453773064efbd0b2cd17b15ba483edbd28ce1e</id>
<content type='text'>
Apart from the status codes for format mismatches, the non-zero exit
status codes have been arbitrary. Make the cli consistently return
either EXIT_SUCCESS or EXIT_FAILURE.
</content>
</entry>
</feed>
