This fully implements my suggestion from id:"20120411193609.GC13549@mit.edu". Originally this was just meant to make the code more portable (since d_type is not portable), but it wound up also simplifying some of the notmuch new logic.
Subject: [PATCH 0/2] Better, more portable stat-ing logic for notmuch new
Date: Mon, 7 May 2012 14:09:44 -0400
Cc: Vladimir Marek
From: Austin Clements
This fully implements my suggestion from id:"20120411193609.GC13549@mit.edu". Originally this was just meant to make the code more portable (since d_type is not portable), but it wound up also simplifying some of the notmuch new logic.