Hacker News new | ask | show | jobs
by satyanash 1197 days ago
> Consider git – it only ships the diffs, yet it produces whole and consistent repositories.

IIRC git does _not_ ship diffs. It copies whole files even for the tiniest change. The compression layer handles the de-duping, which is a different layer.

2 comments

I would interpret 'ships' as 'pushes', because git does send delta packfiles on the wire.
Yup, you are correct - git stores snapshots of files, not diffs.
git typically stores deltas of snapshots of files.