Skip to content
Discussion options

You must be logged in to vote

You will need to use git ls-files for this. ripgrep only looks at ignore rules. It doesn't try to figure out whether a file is tracked or not. I have no plans to change that limitation.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BurntSushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3129 on August 20, 2025 10:42.