On Fri, 9 Jan 2009, Matthieu Moy wrote:
chris@seberino.org writes:
quoted
I'm told a commit is *not* a patch (diff), but, rather a copy of the entire
tree.
Conceptually, yes. But obviously, the storage format (pack) does what
people usually call "delta-compression", which is basically storing
only the diff against another, similar object.
Also, since objects representing files and directories are named after
their actual content, having two commits with identical files and
directories will of course share the same blob and tree objects for
those identical parts.
Nicolas