1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-12-04 14:00:13 +02:00
Files
ripgrep/crates
Ian McKellar 85edf4c796 ignore: only stat .jj if we actually care
I was comparing the work being done by fd and find and noticed (with
`strace -f -c -S` calls) that fd was doing a ton of failed `statx`
calls. Upon closer inspection it was stating `.jj` even though I
was passing `--no-ignore`. Eventually I turned up this check in
`Ignore::add_child_path` that was doing stat on `.jj` regardless of
whether the options request it.

With this patch it'll only stat `.jj` if that's relevant to the query.

PR #3212
2025-10-30 13:29:58 -04:00
..
2025-10-22 08:24:51 -04:00
2025-10-22 08:23:57 -04:00
2025-10-22 08:28:53 -04:00
2025-10-15 22:59:35 -04:00
2025-10-15 23:01:07 -04:00
2025-10-22 08:28:06 -04:00
2025-10-15 23:00:22 -04:00
2025-10-22 08:25:01 -04:00