This fully implements my suggestion from id:"20120411193609.GC13549 at 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.
- [PATCH 0/2] Better, more portable stat-ing logic for notmu... Austin Clements
- [PATCH 1/2] test: Test notmuch new with a broken syml... Austin Clements
- [PATCH 2/2] new: Centralize file type stat-ing logic Austin Clements
- [PATCH 2/2] new: Centralize file type stat-ing lo... Jani Nikula
- [PATCH 2/2] new: Centralize file type stat-in... Jani Nikula
- [PATCH 2/2] new: Centralize file type stat-in... Austin Clements
- [PATCH v2 0/2] Better, more portable stat-ing logic f... Austin Clements
- [PATCH v2 1/2] test: Test notmuch new with a brok... Austin Clements
- [PATCH v2 2/2] new: Centralize file type stat-ing... Austin Clements
- [PATCH v2 2/2] new: Centralize file type stat... Jani Nikula
- [PATCH v2 2/2] new: Centralize file type ... Jani Nikula
