Optimized the finding of the gitignore files in a project by simply not reading directories for which we already know they will be ignored completely. This should speedup operations significantly in situations where a really large (and ignored) target
or node_modules
is part of a project.