Re: question about: Facebook makes Mercurial faster than Git
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Mar 10, 2014, 20:22 UTC
- Message-ID
- <CACPiFC+yjwakzC-0Z=Asuy6SJAxg=pHv4mis_AP_qKVHkpk1Ag@mail.gmail.com>
- In-Reply-To
- <alpine.DEB.2.02.1403101053120.20306@nftneq.ynat.uz>
On Mon, Mar 10, 2014 at 1:56 PM, David Lang <david@lang.hm> wrote:
> there's also the issue of managed vs generated files, if you update the > mtime all the way up the tree because a source file was compiled and a > binary created, that will quickly defeat the value of the recursive mime.
I think this points us again to an inotify-based strategy, where git can put an event listener daemon which registers just the watchers it needs, and filters the events on its own conditions.
The kernel and fs have no good way of knowing about this stuff.
cheers,
m
-- martin.langhoff@gmail.com - ask interesting questions - don't get distracted with shiny stuff - working code first ~ http://docs.moodle.org/en/User:Martin_Langhoff