Finish a stopped switch whose target has a folder link where the old point has a folder #197

Closed
opened 2026-10-26 21:34:54 -05:00 by ethan-hann · 1 comment
Owner

When the target snapshot has a symlink to a folder (mode 120000, for example a native Linux game whose profile has lib -> lib64) at a path where the point being left has a real folder, finishing a stopped switch still refuses on Linux: the stopped-switch scan returns Holding.Nothing for the link and File.Exists is false for a directory link, so RemoveStanding skips it and git refuses to replace the folder. Not a regression of the standing-file fix; Discard still works.

When the target snapshot has a symlink to a folder (mode 120000, for example a native Linux game whose profile has lib -> lib64) at a path where the point being left has a real folder, finishing a stopped switch still refuses on Linux: the stopped-switch scan returns Holding.Nothing for the link and File.Exists is false for a directory link, so RemoveStanding skips it and git refuses to replace the folder. Not a regression of the standing-file fix; Discard still works.
ethan-hann added this to the Later milestone 2026-10-26 21:34:54 -05:00
Author
Owner

Shipped in 0.9.17 (PR 227).

Shipped in [0.9.17](https://git.tortal.tech/ethan-hann/SavePoint/releases/tag/v0.9.17) (PR 227).
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ethan-hann/SavePoint#197
No description provided.