RE: Huge pack file from small unpacked objects

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

 



I've tried running 'git gc' (which should be pruning) and that hasn't helped.

Is there an easy way to unpack the pack file and see what's inside (including sizes)?

thanks,
-Nick

-----Original Message-----
From: B Smith-Mannschott [mailto:bsmith.occs@xxxxxxxxx] 
Sent: Tuesday, December 22, 2009 12:55 AM
To: Nick Triantos
Cc: git@xxxxxxxxxxxxxxx
Subject: Re: Huge pack file from small unpacked objects

On Wed, Dec 16, 2009 at 17:34, Nick Triantos <nick@xxxxxxxxxxxxxxxxxxx> wrote:
> Hi,
>
> I recently created a repo from SVN via git-svn.  The bare repo was about ~600MB.  I cloned it, and on the clone, I added 2 small files (.gitignore and .gitattributes) to a branch, merged them to master, and pushed that back to the origin.  The cloned repo remains at about 600MB, while my origin repo (the one from svn) is now about 2.4GB.  I found that it created a file in objects/pack which accounts for this huge size.
>
> I've tried running 'git repack -a -d' but that didn't shrink the size of this pack file.
>
> Any ideas why the pack file is so huge?  Anything I can do to shrink it?  My coworkers are understandably unhappy that the repo is so huge now (makes for very slow pulls)

Have you tried "git prune"?

// Ben
��.n��������+%������w��{.n��������n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�m


[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]