sharkdp / fd

A simple, fast and user-friendly alternative to 'find'
Apache License 2.0
33.61k stars 803 forks source link

Only ignore .git/info/exclude #1612

Open AckslD opened 3 weeks ago

AckslD commented 3 weeks ago

It would be great if there could be a flag such as --no-ignore-vcs-exclude, which would be similar to --no-ignore-vcs except it would still take .gitignore into account but only not .git/info/exclude. Maybe this seems like a too specific feature but the reason why I think this would make sense is that I would often use .git/info/exclude for files that I actually do want to see and use locally, but only for myself and not commit them to the repo. It's different from .gitignore which most likely no one wants to see (therefore including me), and is the reason that this is actually checked into a repo.

Would this make sense? If this feature sounds okay and no one is able to work on it atm I could also take a stab but first wanted to check if it sounds reasonable?