You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SessionsArea: what it touches
ImprovementsKind: in v2.1.331,
ImprovementsSection of the release
What
Rewind restores your files to an earlier point in a session. It now handles partial failures more carefully.
Files that did not exist at the earlier point, which rewind would normally delete, are now handled last. If a restore failed earlier in the same run, those files are kept instead of deleted.
The rewind result now includes heldPaths, the files it kept, alongside filesChanged, filesFailed and skippedPaths.
The rewind message adds a line such as "Kept N file(s) created since then, because a restore failed." after the "Couldn't restore" count.
When the backup copy of a file is missing and the file is also gone, this is now logged and counted as a failure.
The message when nothing was restored changed from "No files were restored: all differing files failed" to "No files were restored: a file failed and none changed".
Backup version numbers are now worked out by one shared helper.
In the same change, the check of submodules and worktrees (extra git checkouts) now compares Git LFS pointer files, small stand-ins for large files, by their sha256 against git's own id for the file.
Why
A rewind that partly fails no longer deletes files it could not safely put back, and it tells you which files it left on disk.