-
-
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
Follow symlinks by default #180
Comments
Following symlinks by default naively might be not a great idea. |
This is actually not possible. The ignore crate detects cycles: > tree
.
├── a
│ └── link_to_parent -> ..
└── hello.txt
2 directories, 1 file
> fd -L hello a
a/link_to_parent/hello.txt |
I think we should stay consistent with not only find but also ripgrep and other tools. |
Not following symlinks by default introduces the pitfall that we may fail to consider about symlinks, which are not often used. I have actually fallen into this pitfall several days earlier. I understand that the traditional alternative
find
also does not follow symlinks by default, but IMO we should provide a saner default nonetheless.The text was updated successfully, but these errors were encountered: