git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "git gc" doesn't seem to remove loose objects any more
@ 2008-12-15 12:52 Bruce Stephens
  2008-12-15 13:38 ` Mikael Magnusson
  0 siblings, 1 reply; 12+ messages in thread
From: Bruce Stephens @ 2008-12-15 12:52 UTC (permalink / raw)
  To: git

I couldn't see a test for this, but perhaps I'm just missing it?

    brs% git count-objects
    161 objects, 1552 kilobytes
    brs% git gc
    Counting objects: 80621, done.
    Compressing objects: 100% (22372/22372), done.
    Writing objects: 100% (80621/80621), done.
    Total 80621 (delta 57160), reused 80305 (delta 56884)
    brs% git count-objects
    207 objects, 2048 kilobytes


And I see lots of directories under .git/objects which confirms
things.

I don't think I've changed any relevant configuration.

This is with 8befc50c49e8a271fd3cd7fb34258fe88d1dfcad (also whatever
version I used before, erm, probably
de0db422782ddaf7754ac5b03fdc6dc5de1a9ae4), and possibly earlier
versions---I've just started noticing now that the number of loose
objects has started causing git gui to complain.

(Hmm, I note that git gui reports a larger number of loose objects
than git count-objects.  Ah, OK, it really is just an approximation,
so no surprise.)

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

end of thread, other threads:[~2008-12-15 19:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-15 12:52 "git gc" doesn't seem to remove loose objects any more Bruce Stephens
2008-12-15 13:38 ` Mikael Magnusson
2008-12-15 14:08   ` Bruce Stephens
2008-12-15 14:08   ` Björn Steinbrink
2008-12-15 15:56     ` Theodore Tso
2008-12-15 16:12       ` Mark Brown
2008-12-15 16:59         ` Johan Herland
2008-12-15 16:59         ` Mikael Magnusson
2008-12-15 17:07       ` Jakub Narebski
2008-12-15 19:38         ` Theodore Tso
2008-12-15 17:11       ` Brandon Casey
2008-12-15 17:38       ` [PATCH] objects to be pruned immediately don't have to be loosened Nicolas Pitre

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