From: Andreas Krey <a.krey@gmx.de>
To: Duy Nguyen <pclouds@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: git gc/prune runs again and again
Date: Tue, 3 Nov 2015 16:21:09 +0100 [thread overview]
Message-ID: <20151103152109.GA15036@inner.h.apk.li> (raw)
In-Reply-To: <CACsJy8DMyjaZ_jKz4B93e6gSgV7ensORqxD-WYOYL9=9SV5tLw@mail.gmail.com>
On Tue, 03 Nov 2015 16:01:24 +0000, Duy Nguyen wrote:
....
> > I have a bit of an annoying behaviour in git gc;
> > there is a repo I regularly do a fetch in, and
> > this kicks off a gc/prune every time. I remember
> > there being a heuristic with being that many files
> > in .git/objects/17 as the gc trigger.
(It might be a good idea to use a random slot here.)
...
> > What can I do there? (This git is a bit old, 2.2.2)
>
> Run "git prune". 2.2.2 hides this suggestion to run git-prune in this
> case. The next git version will show it back.
Actually, there is a 'git prune --expire 2.weeks.ago --no-progress'
running under the 'git gc --auto --quiet', and I don't want to drop
the expiry time lightly.
Andreas
--
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
prev parent reply other threads:[~2015-11-03 15:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-03 12:44 git gc/prune runs again and again Andreas Krey
2015-11-03 15:01 ` Duy Nguyen
2015-11-03 15:21 ` Andreas Krey [this message]
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=20151103152109.GA15036@inner.h.apk.li \
--to=a.krey@gmx.de \
--cc=git@vger.kernel.org \
--cc=pclouds@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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