-
Notifications
You must be signed in to change notification settings - Fork 236
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
Windows directory symlinks copied as file symlinks #942
Comments
Could you try the following and report the results?
|
the same
|
Properly fixing this is going to be a larger change. For now, I have a partial fix that should at least fix the second scenario here. @isanych Could you try a test build from https://github.com/tleedjarv/unison/actions/runs/5499769169 (end of page) and see if it changes anything for you? |
yep, second scenario creates correct symlink with test build |
@isanych Could you add a comment that explains what is problematic with git master (or 2.53.5, if that's hard)? Not claiming that it's all fixed, but I find the current state hard to follow. Really I'd like a replacement opening text that ignores how we got here and says what is wrong as of now, so that people can read that and ignore everything upthread. New issue and closing this one is fine too. |
Opposite to linux, on windows file symlinks and directory symlinks are different type of links, but unison sync directory symlink as file symlink and they could not be used as directories after sync:
As you can see
dst\d2
is<SYMLINK>
instead of<SYMLINKD>
, file symlinks synced correctly.The text was updated successfully, but these errors were encountered: