From: Bruce Stephens <bruce.stephens@isode.com>
To: git@vger.kernel.org
Subject: Re: "git gc" doesn't seem to remove loose objects any more
Date: Mon, 15 Dec 2008 14:08:08 +0000 [thread overview]
Message-ID: <80oczdy1iv.fsf@tiny.isode.net> (raw)
In-Reply-To: <237967ef0812150538n671c22b8gaf7a7b5dcaf68433@mail.gmail.com> (Mikael Magnusson's message of "Mon\, 15 Dec 2008 14\:38\:56 +0100")
"Mikael Magnusson" <mikachu@gmail.com> writes:
[...]
> IIRC git gc only removes loose objects older than two weeks, if you
> really want to remove them now, run git prune. But make sure no other
> git process can be active when you run it, or it could possibly step
> on something.
OK, that makes sense. Obviously I misunderstood this. That doesn't
explain why the number of objects might increase after "git gc", but
perhaps that's for a good reason too.
Surely "git gui"'s warning is unhelpful, then: it warns I have more
than 2000 loose objects (in another checkout), offers to compress my
database, and I end up with an unchanged repository (which it still
complains about)? Is this warning just redundant now that we've got
"git gc --auto"?
next prev parent reply other threads:[~2008-12-15 14:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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=80oczdy1iv.fsf@tiny.isode.net \
--to=bruce.stephens@isode.com \
--cc=git@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.