mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
Merge-mode prune removed any target entry that was a symlink or junction resolving under the skills source, without checking whether skillshare had created it. Links made by hand or by another tool were therefore deleted by name, silently and outside trash, so they were not recoverable through restore. Ask the manifest, which the directory branch of this same function and all of copy-mode pruning already treat as the ownership record: a live link into the source is pruned when it is tracked there or when --force is set, and is kept and reported as a local entry otherwise. Broken links into the source and the force escape hatch behave exactly as before.