From: Junio C Hamano <gitster@pobox.com>
To: Jeff King <peff@peff.net>
Cc: Roberto Tyley <roberto.tyley@gmail.com>,
Martin Scherer <m.scherer@fu-berlin.de>,
"git\@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Blobs not referenced by file (anymore) are not removed by GC
Date: Wed, 10 Dec 2014 08:07:09 -0800 [thread overview]
Message-ID: <xmqqbnnbjxoy.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <20141210071119.GA18104@peff.net> (Jeff King's message of "Wed, 10 Dec 2014 02:11:19 -0500")
Jeff King <peff@peff.net> writes:
>> ... I'd be happy to
>> contribute a patch that gives 'gc' a flag to do the equivalent of:
>>
>> git reflog expire --expire=now --all && git gc --prune=now --aggressive
>>
>> Maybe:
>>
>> git gc --purge
>
> Yeah, that is common enough that it might be worthwhile (you probably
> want --expire-unreachable in the reflog invocation, though).
Also you would not want an unconditional --aggressive.
next prev parent reply other threads:[~2014-12-10 16:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-08 16:22 Blobs not referenced by file (anymore) are not removed by GC Martin Scherer
[not found] ` <CAFY1edaEq1zYV0vgSfiPAXU6bqVBzaA-apVnSn8DBMbzcAa2tQ@mail.gmail.com>
2014-12-08 16:47 ` Roberto Tyley
2014-12-09 14:14 ` Jeff King
2014-12-09 16:01 ` Roberto Tyley
2014-12-09 16:11 ` Jeff King
2014-12-09 22:15 ` Roberto Tyley
2014-12-10 7:11 ` Jeff King
2014-12-10 16:07 ` Junio C Hamano [this message]
2014-12-10 23:41 ` Roberto Tyley
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=xmqqbnnbjxoy.fsf@gitster.dls.corp.google.com \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=m.scherer@fu-berlin.de \
--cc=peff@peff.net \
--cc=roberto.tyley@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 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.