cli: use dirent_type in count_files too
authorJani Nikula <jani@nikula.org>
Sun, 19 Jan 2014 20:32:24 +0000 (22:32 +0200)
committerDavid Bremner <david@tethera.net>
Sun, 26 Jan 2014 13:38:22 +0000 (09:38 -0400)
commit0b247cb411fa7530003bad920bd2c85ed46187b5
treebd98d83c043a774227b0e0b943db7701c6822bdb
parent65ebd34329e31a9a8a6f4a2d1e255ef273b0678e
cli: use dirent_type in count_files too

Avoid an extra stat per file, if possible, also when counting the
files for initial indexing.
notmuch-new.c