On Sat, Dec 15, 2012 at 7:18 AM, Austin Clements <amdragon@mit.edu> wrote:
need to at least os.fsync before the os.link. 

Fixed, thanks for the suggestion.
http://git.zx2c4.com/gmail-notmuch/commit/?id?9646058bfd91d7d0e2eda035521f97de92eabc