notmuch new: Fix to detect deletions of names at the end of the list.
authorCarl Worth <cworth@cworth.org>
Wed, 6 Jan 2010 21:26:47 +0000 (13:26 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 6 Jan 2010 21:26:47 +0000 (13:26 -0800)
commit59c09623c844f095c14400a9b4199be20e5d712e
tree345fecc09112b5ccd707894332343b69ab75934e
parent39e81ca431906370d0fee351419e1314e57a7c58
notmuch new: Fix to detect deletions of names at the end of the list.

Previously we only scanned the list of filenames in the filesystem and
detected a deletion whenever that scan skipped a name that existed in
the database. That much was fine, but we *also* need to continue
walking the list of names from the database when the filesystem list
is exhausted.

Without this, removing the last file or directory within any
particular directory would go undetected.
notmuch-new.c