Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect .gitignore when enumerating files #54

Open
zaneduffield opened this issue Apr 11, 2024 · 0 comments
Open

Respect .gitignore when enumerating files #54

zaneduffield opened this issue Apr 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@zaneduffield
Copy link
Collaborator

It would be nice if .gitignore files were respected when enumerating files.

The ignore crate is almost a drop-in replacement for the walkdir crate that we currently use, but it can respect .gitignore (among other ignore strategies).

A bonus would be if we could ignore git submodules automatically. This is currently unsupported by the ignore crate. See BurntSushi/ripgrep#2751.

Another bonus would be if the config file could contain extra patterns to ignore.

@zaneduffield zaneduffield added the enhancement New feature or request label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant