You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Project I grepped: https://github.com/rust-lang/rust
In the project root, I used rg -trust '^\s*extern\s+crate\s+[a-z][_a-zA-Z0-9]*;' src.
But ripgrep also included search result from src/test:
What version of ripgrep are you using?
ripgrep 11.0.1 (rev 8ebc113)
-SIMD -AVX (compiled)
+SIMD -AVX (runtime)
How did you install ripgrep?
Build from source
What operating system are you using ripgrep on?
Debian GNU/Linux 9.9 (stretch) 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) x86_64 GNU/Linux
Describe your question, feature request, or bug.
Ripgrep doesn't respect
.ignore
file. My.ignore
file:Project I grepped: https://github.com/rust-lang/rust
In the project root, I used
rg -trust '^\s*extern\s+crate\s+[a-z][_a-zA-Z0-9]*;' src
.But ripgrep also included search result from
src/test
:If this is a bug, what are the steps to reproduce the behavior?
See above.
If this is a bug, what is the actual behavior?
The output is really large, upto 18MiB with only stderr. I don't know if it is
appropriate to put it in gist.
If you actually need it, I will upload it somewhere later.
If this is a bug, what is the expected behavior?
I think ripgrep should ignore
src/test
path.The text was updated successfully, but these errors were encountered: