top | item 35065749

(no title)

satyanash | 3 years 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.

discuss

order

slavik81|3 years ago

I would interpret 'ships' as 'pushes', because git does send delta packfiles on the wire.

alfons_foobar|3 years ago

Yup, you are correct - git stores snapshots of files, not diffs.

yencabulator|3 years ago

git typically stores deltas of snapshots of files.