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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, 13 Dec 2006, David Tweed wrote:

> How big is the "metadata" or "bookeeping data" in git related to a 
> commit?

In my experience, a single commit (with the trees and blobs being 
reachable from it) takes about the same space in a pack as the 
corresponding tar ball.

When you add revisions, the pack grows approximately with the compressed 
patch size.

So, if you can estimate the size of the initial tar ball and the size of 
the subsequent patches, you have a ballpark figure of the metadata size of 
the git repository. (This is for the bare case; for the regular case you 
have to add the size of a checked out tree, of course.)

Hth,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]