Re: Performance issue with excludes (was: Re: git-svn and submodules)
On Oct 15, 2007, at 6:34 PM, Linus Torvalds wrote:
Show 16 quoted lines
> 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