From: Benoit SIGOURE Date: Mon, 15 Oct 2007 16:51:27 GMT Subject: Re: Performance issue with excludes (was: Re: git-svn and submodules) Message-ID: <45410184-8D7D-47ED-AB10-1A4E52D0ADB0@lrde.epita.fr> In-Reply-To: On Oct 15, 2007, at 6:34 PM, Linus Torvalds wrote: > On Mon, 15 Oct 2007, Benoit SIGOURE wrote: >> >> I re-used the test that was posted some time ago: > > I think your test is scrogged. You should add the ".gitignore" file > *before* you do the "git add .". That's when it's going to hurt (since > that's when you have new files you don't yet know about). > > But then it should hurt only for the "git add ." phase, not for > anything > else (unless we have the performance bug of doing the ignore > matching even > on files we know about). And more importantly, it should hurt only > once > (since afterwards, we'll know about the files and know not to ignore > them). There is no .gitignore, only .git/info/exclude. -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory