From: Johannes Sixt <j6t@kdbg•org>
To: Git Mailing List <git@vger•kernel.org>
Subject: How to cut extra liftime of expired loose objects
Date: Mon, 30 May 2016 18:43:07 +0200 [thread overview]
Message-ID: <574C6D9B.1080200@kdbg.org> (raw)
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
next reply other threads:[~2016-05-30 16:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-30 16:43 Johannes Sixt [this message]
2016-05-30 18:24 ` How to cut extra liftime of expired loose objects Jeff King
2016-05-30 18:53 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=574C6D9B.1080200@kdbg.org \
--to=j6t@kdbg$(echo .)org \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox