3 ms·
Well snapshots and lists of all the diffs to apply in order (so long as there are no conflicts) are equivalent, but there are important ways that git is fundame
by dan-robertson 6y ago
Well snapshots and lists of all the diffs to apply in order (so long as there are no conflicts) are equivalent, but there are important ways that git is fundamentally based on snapshots rather than diffs. A simple example is that rebasing changes the revision id and snapshot even if the diff doesn’t change, or that rerere exists. If snapshots were equivalent to diffs then this wouldn’t need to be the case: just do set union in the world of diffs.