-
What version of ripgrep are you using?
How did you install ripgrep?cargo install ripgrep What operating system are you using ripgrep on?archlinux, kernel 6.0.6 Describe your bug.Started ripgrep with --files and -uuu I didn't visible ignored files. What are the steps to reproduce the behavior?[kron@kron-pc front]$ ls
build dist node_modules package.json package-lock.json src
[kron@kron-pc front]$ cat .gitignore | grep dist
dist/
[kron@kron-pc front]$ rg --files -uuu | grep dist
[kron@kron-pc front]$ fd -I | grep dist/
dist/
What is the actual behavior?https://gist.github.com/JMarkin/58a135e49b6bfded041e67172d3a5dac What is the expected behavior?I see 'dist' in search What do you think ripgrep should have done? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Your debug output doesn't say it's ignoring the Can you reproduce this on a corpus we both can access please? |
Beta Was this translation helpful? Give feedback.
-
I tried create archive for reproduce. Found, dist folder is empty :D Understand why dist not working. But node_modules not empty and |
Beta Was this translation helpful? Give feedback.
-
My best guess is that everything is symlinked and ripgrep doesn't traverse symlinks by default. You'll want |
Beta Was this translation helpful? Give feedback.
I tried create archive for reproduce. Found, dist folder is empty :D Understand why dist not working.
But node_modules not empty and
rg --files -uuu | grep node_modules
also nothing...In previous gist have logs about node_modules. Can it help you?
I created small tar archive https://disk.yandex.ru/d/tBCG8eUbk6ER5Q . I can to reproduce on other machine