3 ms·
It will work for all git directories that are encountered. This behavior can be disabled with the '-I' flag, if needed. fd uses Rusts regex engine (https://git
by sharkdp 9y ago
It will work for all git directories that are encountered. This behavior can be disabled with the '-I' flag, if needed.
fd uses Rusts regex engine (https://github.com/rust-lang/regex https://github.com/rust-lang/regex) which is based on finite automata.
- JepZ 9y agoI am not sure if I find that a smart default as I frequently exclude generated files from git repositories and when want to find something I do not know why I would not like to find such a file if my pattern matches it. I would prefer to let the switch enable the .gitignore logic, but as I don't know the authors use-case, theirs might be valid too.
- Sean1708 9y agoSurely the common case is that you don't want to search generated files? Or at least I personally am almost never interested in generated files because they're not the ones I'm going to be changing/doing stuff with.