3 ms·
> The underlying storage uses deltas (which are diffs) to save space. Not necessarily! The base git storage stores each object individually, not as deltas ("di
by cesarb 6y ago
> The underlying storage uses deltas (which are diffs) to save space.
Not necessarily! The base git storage stores each object individually, not as deltas ("disk space is cheap"); it's only after a "git gc" that they are stored as deltas to other (potentially unrelated) objects. The original implementation of git didn't even have the delta storage (pack files), it was added later as an optional optimization.
So answering to "what it's made of?" with "deltas" comes with a huge caveat, that it's often partially or completely untrue.