What version of ripgrep are you using?
ripgrep 13.0.0
How did you install ripgrep?
Installed directly from the GitHub release
What operating system are you using ripgrep on?
CentOS Stream 8
Describe your bug.
Ripgrep is ignoring files found in an .ignore file in the parent directory?
What is the expected behavior?
I was ripgreping for a pattern I knew was in my source, and wasn't getting a result. I immediately checked .gitignore and .ignore files in the current directory and there was nothing that would have filtered out my source. Testing again with --no-ignore showed the content I was expecting.
I'm assuming this is the intended behavior? I couldn't find any reference in the docs to ripgrep going up the tree looking for .ignore files. I would maybe expect it to look in each sub directory, but not go up. If this is not a bug then the documentation should be updated to indicate that
What version of ripgrep are you using?
ripgrep 13.0.0
How did you install ripgrep?
Installed directly from the GitHub release
What operating system are you using ripgrep on?
CentOS Stream 8
Describe your bug.
Ripgrep is ignoring files found in an
.ignorefile in the parent directory?What is the expected behavior?
I was ripgreping for a pattern I knew was in my source, and wasn't getting a result. I immediately checked
.gitignoreand.ignorefiles in the current directory and there was nothing that would have filtered out my source. Testing again with--no-ignoreshowed the content I was expecting.I'm assuming this is the intended behavior? I couldn't find any reference in the docs to
ripgrepgoing up the tree looking for.ignorefiles. I would maybe expect it to look in each sub directory, but not go up. If this is not a bug then the documentation should be updated to indicate that