Git development
 help / color / mirror / Atom feed
* Garbage collection creates many unpacked objects.
@ 2011-10-10 23:30 Martin Fick
  2011-10-10 23:49 ` Shawn Pearce
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Fick @ 2011-10-10 23:30 UTC (permalink / raw)
  To: git

If I clone linus' kernel, delete all the tags, and then run 
git gc, it ends up expanding into about 5K of unpacked 
objects.  The .git size goes from 473M to 511M.  This seems 
a bit strange no?  Shouldn't gcing yield a smaller repo an 
fewer unpacked refs?

If I do this on our internal kernel repo (which has 2Ktags), 
it gets much more pathological, it expands to about 1M 
objects and grows to about 7G!!!

This seems to happen with all versions which I tested, 
1.6.0, 1.7.6 and 1.7.7

Any thoughts?

-Martin

-- 
Employee of Qualcomm Innovation Center, Inc. which is a 
member of Code Aurora Forum

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

end of thread, other threads:[~2011-10-10 23:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-10 23:30 Garbage collection creates many unpacked objects Martin Fick
2011-10-10 23:49 ` Shawn Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox