Re: Curious about details of optimization of object database...

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: Curious about details of optimization of object database...

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:45:55

chris@seberino.org writes:
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.

-- 
Matthieu

Re: Curious about details of optimization of object database...

From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:45:55

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help