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

support patternfiles and multiple patterns like ripgrep. #1647

Open
ItamarGronich opened this issue Dec 4, 2024 · 1 comment
Open

support patternfiles and multiple patterns like ripgrep. #1647

ItamarGronich opened this issue Dec 4, 2024 · 1 comment

Comments

@ItamarGronich
Copy link

ItamarGronich commented Dec 4, 2024

Feature request

It would be nice to be able to supply multiple patterns or a path to a pattern file like ripgrep allows with the -f|--file flag.

Use case

I found myself in a problem where git status took 5 seconds to complete.
and it printed a message saying that it took 4.5 seconds to enumerate the untracked files in the repo.
so i wanted to use fd to list all the files i have untracked in git.

i could've done this easily if there was something like:

fd -u --glob --patternfile .gitignore

or

fd -u --globfile .gitignore
@tavianator
Copy link
Collaborator

Just for the record, you can use git ls-files --others to see all the untracked files in a repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants