Re: Average size of git bookkeeping data (related to Using git as a general backup mechanism)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Tweed <tweed314@...>
Cc: <git@...>
Date: Tuesday, December 19, 2006 - 9:20 pm

On Wed, 13 Dec 2006, David Tweed wrote:


if nothing has changed it will take the space of the commit tag, as the tree 
will remain the same (and you should be able to script detection of this case 
and make it zero overhead)

if something has changed you will have the new tree and the changed object

in a tree each object is ~28 bytes (IIRC from what Linus mentioned in the last 
week or two)

a loose object is compressed, and if you repack it will delta against prior 
versions for even more space savings

look at the size of the mozilla tree and the kernel tree and you will see that 
when packed git is about as efficiant as any other option you have (and more 
efficiant than most)

David Lang
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Average size of git bookkeeping data (related to Using g..., David Lang, (Tue Dec 19, 9:20 pm)
Re: Average size of git bookkeeping data (related to Using g..., Johannes Schindelin, (Wed Dec 13, 8:02 pm)