-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
docAn issue with or an improvement to documentation.An issue with or an improvement to documentation.rollupA PR that has been merged with many others in a rollup.A PR that has been merged with many others in a rollup.
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
docAn issue with or an improvement to documentation.An issue with or an improvement to documentation.rollupA PR that has been merged with many others in a rollup.A PR that has been merged with many others in a rollup.