Hacker News new | ask | show | jobs
by est 266 days ago
I wonder if this could be applied to git.

The git blob was hashed with a header of decimal length, and you change a slight bit of content, you have to calculate the hash from start again.

Something like CDC would improve this alot.

2 comments

It's done in xet as a replacement for git lfs: https://huggingface.co/blog/from-files-to-chunks
Backup tools like restic/borg do this, I wonder if anyone has used them to replace git yet.