git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Big repo not shrinking on repack or gc?
@ 2015-01-14 11:51 Andreas Krey
  2015-01-14 12:49 ` Jeff King
  0 siblings, 1 reply; 11+ messages in thread
From: Andreas Krey @ 2015-01-14 11:51 UTC (permalink / raw)
  To: git

Hi everybody,

I have a repo here that is 130G, but when I clone --mirror it, the result
is only 25G big.  Because of the --mirror I don't think that I missed
any refs that keep objects only in the source repo.

I already tried 'git repack -fad' and 'git gc' to shrink the original repo,
but it only shaved off 3G, and there are a lot of loose objects and old
pack files that I simply don't expect to be there after a repack.

Shouldn't 'git gc' (even without --aggressive) or a 'repack -fad' remove
those redundant objects and packs?

How to clean this up? (Additional problem: I don't have enough space
to run a repack anymore.)

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-01-15  8:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-14 11:51 Big repo not shrinking on repack or gc? Andreas Krey
2015-01-14 12:49 ` Jeff King
2015-01-14 13:07   ` Andreas Krey
2015-01-14 14:39   ` Andreas Krey
2015-01-14 16:00     ` Andreas Krey
2015-01-14 17:24     ` Junio C Hamano
2015-01-15  1:23       ` Bryan Turner
2015-01-15  6:38         ` Andreas Krey
2015-01-15  7:05           ` Bryan Turner
2015-01-15  7:43             ` Andreas Krey
2015-01-15  8:56               ` Bryan Turner

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).