aboutsummaryrefslogtreecommitdiffhomepage
path: root/debian/notmuch.examples
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2011-06-29 19:00:01 -0400
committerGravatar Carl Worth <cworth@cworth.org>2011-06-29 16:10:41 -0700
commitbb2b33fbb85b88eb7d3bedf4cb261a89da20f504 (patch)
treed3e23d9cb9a2d427e67fadf55ab0ac38b6a38802 /debian/notmuch.examples
parenta31ad0bd01570307d18b7fbd56b7bcdfb22e5b63 (diff)
new: Improved workaround for mistaken new directories
Currently, notmuch new assumes any directory with a database mtime of 0 is new, but we don't set the mtime until after processing messages and subdirectories in that directory. Hence, anything that prevents the mtime update (such as an interruption or the wall-clock logic introduced in 8c39e8d6) will cause the next notmuch new to think the directory is still new. We work around this by setting the new directory's database mtime to -1 before scanning anything in the new directory. This also obviates the need for the workaround used in 8c39e8d6.
Diffstat (limited to 'debian/notmuch.examples')
0 files changed, 0 insertions, 0 deletions