-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
enhancementAn enhancement to the functionality of the software.An enhancement to the functionality of the software.gitignoreBugs related to gitignore problems.Bugs related to gitignore problems.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?
$ rg --version
ripgrep 11.0.2
-SIMD -AVX (compiled)
+SIMD +AVX (runtime)
How did you install ripgrep?
Cargo
What operating system are you using ripgrep on?
Ubuntu
Describe your question, feature request, or bug.
Sometimes you end up inside a directory that's actually gitignored, and search for stuff. Of course, no file will get searched, and you will be confused.
If ripgrep ends up not searching any files and it happens to be in a situation where there are files to search that it cannot because of the ignore file, it should probably display a warning saying "some files were skipped because of the ignore file, try --no-ignore-vcs to include".
I don't know if ripgrep ever shows warnings, but this would be a nice place to do so.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementAn enhancement to the functionality of the software.An enhancement to the functionality of the software.gitignoreBugs related to gitignore problems.Bugs related to gitignore problems.rollupA PR that has been merged with many others in a rollup.A PR that has been merged with many others in a rollup.