From: B Smith-Mannschott <bsmith.occs@gmail.com>
To: Nick Triantos <nick@perceptivepixel.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Huge pack file from small unpacked objects
Date: Tue, 22 Dec 2009 09:54:40 +0100 [thread overview]
Message-ID: <28c656e20912220054qc7b6497t79e135c913865c22@mail.gmail.com> (raw)
In-Reply-To: <75B8C0BEE0AE2A44AA971D218D9FE99E3DD8C61C@VMBX125.ihostexchange.net>
On Wed, Dec 16, 2009 at 17:34, Nick Triantos <nick@perceptivepixel.com> 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
next prev parent reply other threads:[~2009-12-22 8:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <404585ED79625A40AB5A9884ECA9A63B3E02083F@VMBX125.ihostexchange.net>
2009-12-16 16:34 ` Huge pack file from small unpacked objects Nick Triantos
2009-12-22 8:54 ` B Smith-Mannschott [this message]
2009-12-22 18:04 ` Nick Triantos
2009-12-22 18:11 ` Junio C Hamano
2009-12-22 6:19 ` Nick Triantos
2009-12-22 17:41 ` Nicolas Pitre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=28c656e20912220054qc7b6497t79e135c913865c22@mail.gmail.com \
--to=bsmith.occs@gmail.com \
--cc=git@vger.kernel.org \
--cc=nick@perceptivepixel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).