-
Notifications
You must be signed in to change notification settings - Fork 12
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
No such file or directory
for symlinks whose targets don't exist
#16
Comments
Aside 'symlink does not exist' is it any other issue that you saw? Please be speciffic. There has been a lot of effort added to properly support symlinks in this project.
This was a design decision. If you know you have broken symlinks you can always use --skip-symlinks option. |
Recently I have encounter the same issue with a broken symlink (1.8.0):
It helped me to find some broken symlinks ;-), however, in some corner cases I had to exclude proper paths (or ignore symlinks at all), e.g.:
In a situation the implementation is not overly complicated it would be useful to have an option to ignore broken symlinks assuming they are broken on the both side. |
I think this issue will be resolved if we implement #19. What do you think? |
I'm not sure if crash is the best behavior for broken symlinks. It happens occasionally to break a link (to make it unresolvable) and then it is required to disable all links processing in the comparison . Maybe it could report it as "missing" if a broken link on one side, but is resolvable on the other? |
Agreed, better to avoid crash by default.
|
It sounds good! |
If a symlink points to a file that doesn't exist, it should not break the diff.
It looks like symlinks are not handled well in general.
The text was updated successfully, but these errors were encountered: