Hide Forgot
The previous version of the sync algorithm included a check that validated symlinks. However, I'm not entirely sure *what* it was trying to guard against, so I don't know how to craft a good test case for it.
On closer inspection, the test case just needs to cover all the cases handled by the link validator: - if the link target doesn't exist locally or isn't a directory don't do anything beyond the default rsync handling - if the link target is a directory that also exists locally, then: - ensure a local symlink that points to the wrong place is overwritten with a new symlink - ensure a local directory that collides with the symlink name is overwritten (unless guarded by a PROTECTED file, OR the link target is itself a symlink that points back to the existing local directory. In the latter case, report a SYNC_PARTIAL to indicate that there's something weird going on that may require manual adjustment)