7 ms·
I have used savevers.vim for many years as a way to recover old versions of files. https://www.vim.org/scripts/script.php?script_id=89 https://www.vim.org/scri
by oftenwrong 7mo ago
I have used savevers.vim for many years as a way to recover old versions of files.
https://www.vim.org/scripts/script.php?script_id=89 https://www.vim.org/scripts/script.php?script_id=89
It is comparatively unsophisticated, but I need it so infrequently that it has been good enough.
I do like the idea of maintaining a complete snapshot of all history.
This is a good application for virtual filesystems. The virtual fs would capture every write in order to maintain a complete edit history. As I understand it, Google's CitC system and Meta's EdenFS work this way.
https://cacm.acm.org/research/why-google-stores-billions-of-lines-of-code-in-a-single-repository/ https://cacm.acm.org/research/why-google-stores-billions-of-...
https://github.com/facebook/sapling/blob/main/eden/fs/docs/Overview.md https://github.com/facebook/sapling/blob/main/eden/fs/docs/O...