inotify to minimize stat() calls
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Feb 8, 2013, 21:10 UTC
- Message-ID
- <CALkWK0=EP0Lv1F_BArub7SpL9rgFhmPtpMOCgwFqfJmVE=oa=A@mail.gmail.com>
Hi,
For large repositories, many simple git commands like `git status` take a while to respond. I understand that this is because of large number of stat() calls to figure out which files were changed. I overheard that Mercurial wants to solve this problem using itnotify, but the idea bothers me because it's not portable. Will Git ever consider using inotify on Linux? What is the downside?
Ram