Re: inotify daemon speedup for git [POC/HACK]
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Jul 27, 2010, 23:58 UTC
- Message-ID
- <AANLkTi=6pPrQkEozTR6OXuO6C4kGk61ExTWiLD6vQ1Mp@mail.gmail.com>
- In-Reply-To
- <20100727122018.GA26780@pvv.org>
Heya,
On Tue, Jul 27, 2010 at 07:20, Finn Arne Gangstad <finnag@pvv.org> wrote:
> There is one minor nit: The speedup gain is zero :) git still > traverses all directories to look for .gitignore files, which seems to > totally kill the optimisation.
This is very true. In my experience with ginormous trees even if you 'git update-index --assume-unchanged' every file and directory it's still unbearably slow due to the .gitignore files. Any solution that aims to solve this problem should also address the .gitignore file problem. Note: a safe assumption here is that to solve the problem it needs to work if there are more .gitignore files than regular files :).
-- Cheers, Sverre Rabbelier