Re:Git is too hard
by yencabulator on Tuesday November 17, 2020 @06:00PM
(#25131074)
Deduplication and compression do not imply diffs.
[ Parent
| on HN ]
Re:Git is too hard
by MaxBarraclough on Wednesday November 18, 2020 @03:41PM
(#25142171)
git does perform delta compression. From what I can gather, git's storage engine uses conventional compression (zlib), deduplication (exactly identical files need not be stored twice) and delta compression (between similar files).
The question was does git's implementation store - in full - every version of a tracked file? The answer is that it doesn't. git has a sophisticated storage engine precisely to avoid the inefficiencies of the naive approach.