From 191630b302aa3bca28a5bca94e5f443f5c2f4d27 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Mon, 11 Jan 2010 20:46:48 +0200 Subject: [PATCH] * mu-index: add some comment about the new up-to-data check --- src/mu-index.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mu-index.c b/src/mu-index.c index 716815f9..0743aa48 100644 --- a/src/mu-index.c +++ b/src/mu-index.c @@ -86,7 +86,10 @@ _insert_or_update_maybe (const char* fullpath, time_t filestamp, *updated = FALSE; - /* checks to determine if we need to (re)index this message */ + /* checks to determine if we need to (re)index this message + * note: just check timestamps is not good enough because + * message may be moved from other dirs (e.g. from 'new' to + * 'cur') and the time stamps won't change.*/ do { /* unconditionally reindex */ if (data->_reindex)