Hacker News new | ask | show | jobs
by sagonar 1905 days ago
A storage with pure diff would be impossible to recover if you get a error in any commit. It would also be much slower to examine the data, and newer version control do not use pure diff.

The version control system Mercurial had description about these problems on the homepage, "behind the scense", which was good reading.

I am not sure if GIT is the best solution, but at least a "pure snapshot" is okey, but where a diff storage must in practise include some snapshot logic as well.

1 comments

Diff based, but with snapshot "control frame" every N commits, like video?

Obviously joking though.