osv-scanner
osv-scanner copied to clipboard
Gitignore parsing iterates through all directories unnecessarily
The git ignore parsing logic always iterates down through all directories, even ignored directories.
This causes scans that don't use the -r flag to take a surprisingly long time to complete, and also causes large, directory structures that have been ignored to take a long time to scan, since those directories are walked through to find ignore files.
i can take a look at this
Can you assign this to me please @another-rex