3 ms·
Since I haven't seen any other responses actually say this: Git logically stores file contents as blobs in essentially a key-value store. However, the physical
by yencabulator 3y ago
Since I haven't seen any other responses actually say this:
Git logically stores file contents as blobs in essentially a key-value store. However, the physical storage writes many objects into a single "packfile", and for each object it uses heuristics to look for "likely similar" object candidates already in the packfile, computes deltas based on them, choosing the smallest possible delta or falling back to storing the object as-is if it can't find a good candidate.