Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Roll back local fork when truncating history
When a soft reset or undo depth change happens, the history is supposed to be truncated at the point it's at currently, but it actually used the canvas state that included the local fork already, so it could end up with a desync in pathological cases. Now it rolls back the local fork before truncating the history and then applies it again afterwards.
- Loading branch information