How to cut extra liftime of expired loose objects

2016-05-30 Thread Johannes Sixt
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

Re: How to cut extra liftime of expired loose objects

2016-05-30 Thread Jeff King
On Mon, May 30, 2016 at 06:43:07PM +0200, Johannes Sixt wrote: > 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 t

Re: How to cut extra liftime of expired loose objects

2016-05-30 Thread Junio C Hamano
Jeff King writes: > I think we should consider dropping the default time to something more > like 1 day. The 2-week period predates reflogs, I believe (OTOH, it does > save objects which you might have used with "git add" but never actually > committed). Your belief is shared by me. -- To unsubs