git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to cut extra liftime of expired loose objects
@ 2016-05-30 16:43 Johannes Sixt
  2016-05-30 18:24 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Sixt @ 2016-05-30 16:43 UTC (permalink / raw)
  To: Git Mailing List

I think there is logic somewhere in git gc or its minions that gives 
expired objects that have been packed a two weeks extra life time as 
loose objects.

That is, reachable loose objects are moved to a pack, but those objects 
that were packed, but become unreachable due to expired reflogs, are 
evicted from the pack and live for another two weeks or so as loose objects.

As a consequence of this, I always have a few thousand loose objects in 
my busy repositories, no matter how often I collect garbage. Is there a 
knob that removes the extra lease of life of objects without reducing 
the usual expiration times of reflogs etc?

-- Hannes

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

end of thread, other threads:[~2016-05-30 18:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-30 16:43 How to cut extra liftime of expired loose objects Johannes Sixt
2016-05-30 18:24 ` Jeff King
2016-05-30 18:53   ` Junio C Hamano

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