-
-
Notifications
You must be signed in to change notification settings - Fork 816
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
Loosen strict handling of missing --ignore-file? #280
Comments
Hi, thank you for your feedback! I wasn't sure if raising an error would be the right thing to do. I think we should definitely downgrade this message to a warning. I would also be okay with adding a (possibly hidden?) Also, note that Yet another option would be to make it possible to re-enable |
I'd be in favor of reenabling |
I think we should move forward by downgrading the error to a warning. We have just recently introduced a |
|
Fixed in fd-7.2.0. |
Another FZF-prompted question: in some repositories, I have a
.ignore
file to help rg ignore files included in the git repo but not intended to be searched. I would likefd
to use.ignore
when it is present in$PWD
, but unfortunately if the file does not existfd
throws an error:For cases where an ignore file is appended programmatically, it would be helpful to either (not necessarily silently?) ignore missing
--ignore-file
parameters or to otherwise support some sort of--maybe-ignore-file
or--ignore-file xxx --ignore-missing-ignore-file
.This doesn't just apply to fzf, in my case I would like to alias
fd
tofd --ignore-file .ignore
, too.The text was updated successfully, but these errors were encountered: