Geert Bosch <bosch@xxxxxxxxxxx> wrote: > On Mar 9, 2008, at 09:59, Jakub Narebski wrote: > > >This extension[3][4] optimises "hg status" command by asking file > >notification daemon about changed files instead of doing stat. I'm not > >sure how useful this extension is: inotify is Linux specific, and > >Linux > >has fast stat... nevertheless this is one example where extension > >(plug-in) framework shows that it can do more than good scriptability. > > FWIW, OS X 10.5 has a similar functionality, called "fsevents", > as well as a much slower stat. Windows NT on NTFS has a file monitor system that works somewhat like an inotify, but different enough that you gotta write totally different code for it. It also has a much slower stat. I have wanted to put something like this into git-gui, so that a running git-gui session can see changes made to your working dir "live". But I haven't gotten around to writing it. I did do some early experiments on Windows NT + NTFS with a small C daemon that watches the working directory, but it ran into issues about also need to know what is inside .gitignore to properly avoid sending events that git-gui doesn't want to know about. Like say build object files. :-) I think the reason Git has never had such an "extension" is we are just that freaking fast when it comes to comparing the working tree to the index. hg wasn't in the early days and that may have been what gave rise to the plugin. -- Shawn. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html