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).
Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html