notmuch-new: Fix notmuch new to look at files within symbolic links
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 25 Nov 2009 04:58:24 +0000 (10:28 +0530)
committerCarl Worth <cworth@cworth.org>
Sat, 28 Nov 2009 01:29:10 +0000 (17:29 -0800)
commit5c7c6c0baefaf63d2b79c014b85c391a66261feb
tree6981fa11a897cb17dc46a18914e332d22019b23e
parentc984fc43cc841b1453a10f92c227466a2c676364
notmuch-new: Fix notmuch new to look at files within symbolic links

We look at the modified time of the database and the directory
to decide whether we need to look at only the subdirectories.
ie, if directory modified time is < database modified time
then we have already looking at all the files withing the
directory. So we just need to iterate through the subdirectories

But with symlinks we need to make sure we follow them even if
the directory modified time is less than database modified time

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
notmuch-new.c