You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix ln -f handling when source and destination are the same entry (#8838)
* fix(ln): enhance same-file detection with canonical paths
Improved the `link` function in `ln.rs` to use canonical path resolution for accurate same-file detection when forcing overwrites, preventing incorrect errors for equivalent paths. Added tests to verify behavior for self-linking and hard link relinking scenarios.
Co-authored-by: Sylvestre Ledru <[email protected]>
0 commit comments