git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Avery Pennarun" <apenwarr@gmail.com>
Cc: "Johannes Sixt" <j.sixt@viscovery.net>,
	"Git Mailing List" <git@vger.kernel.org>
Subject: Re: git-gc doesn't clean up leftover objects after git-filter-branch unless you clone first
Date: Wed, 23 Apr 2008 10:00:59 -0700	[thread overview]
Message-ID: <7vve28sdys.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <32541b130804230841h32c07f3arc94cccfaf0b156a3@mail.gmail.com> (Avery Pennarun's message of "Wed, 23 Apr 2008 11:41:42 -0400")

"Avery Pennarun" <apenwarr@gmail.com> writes:

> This question has come up at least once a week since I subscribed to
> the list.  I can think of these solutions:
>
> - Add a note to the git-gc and/or git-repack man page about how hidden
> refs can impact the cleanup.
>
> - Add an option to make git-clone *not* hardlink stuff; its different
> behaviour for hardlinking vs. file:// seems to be very confusing.
>
> - Make git-gc give a warning when there are some objects that are only
> referenced via the reflog or refs/original.  (I suspect this would
> trigger too often though.)
>
> - Give git-gc a "really, I'm serious" option that makes it ignore the
> reflog and refs/original.

- Teach people that leftover cruft is nothing to worry about.

  reply	other threads:[~2008-04-23 17:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-23 15:41 git-gc doesn't clean up leftover objects after git-filter-branch unless you clone first Avery Pennarun
2008-04-23 17:00 ` Junio C Hamano [this message]
2008-04-23 18:36   ` Avery Pennarun
2008-04-23 22:13   ` Jeff King
2008-04-24  1:28     ` Jeff King
2008-04-24 15:43       ` Avery Pennarun
2008-04-24 16:14         ` Jeff King
2008-04-24 16:59           ` Avery Pennarun
2008-04-29 20:45             ` [PATCH] Documentation: point git-prune users to git-gc Jeff King
2008-04-29 22:05               ` Junio C Hamano
2008-04-29 23:19                 ` Jeff King
2008-04-30  1:01                   ` 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=7vve28sdys.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=apenwarr@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=j.sixt@viscovery.net \
    /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;
as well as URLs for NNTP newsgroup(s).