From: Duy Nguyen Date: Sun, 31 Jul 2016 14:30:34 GMT Subject: Re: [PATCH] t7063: work around FreeBSD's lazy mtime update feature Message-ID: In-Reply-To: <20160731010732.GA31840@whir> On Sun, Jul 31, 2016 at 3:07 AM, Eric Wong wrote: >> would be more to the point of what is going on, here. But I >> also wonder if untracked cache itself could/should be doing this >> internally. > > Still wondering :> There's nothing we can do besides maybe run a cron job executing 'sync' every second or so. We need to force mtime to be written down close to.. you know.. mtime. By the time git is executed, it's already late. You can execute 'sync' inside git then wait a couple seconds.. but that's just stupid. And removing the racy check is even more dangerous, now you can get false output. -- Duy