git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Jeff King <peff@peff.net>
To: "без имени" <mykaralw@yandex.ru>
Cc: Simon Holmberg <simon.holmberg@avalanchestudios.se>,
	"git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Partial Clone garbage collection?
Date: Wed, 30 Oct 2019 16:38:33 -0400	[thread overview]
Message-ID: <20191030203833.GD29013@sigill.intra.peff.net> (raw)
In-Reply-To: <43646191572459422@myt3-4825096bdc88.qloud-c.yandex.net>

On Wed, Oct 30, 2019 at 09:17:02PM +0300, без имени wrote:

> > Are there any plans to add a --filter parameter to git gc as well,
> > that would be able to prune past history of objects and convert them
> > back into pack promises?
> 
> This operation will change the hash, and hence the history. I tried to
> draw attention to a specific trick:

I don't think this is quite the same thing. Simon is just talking about
the partial-clone system.  The files are still mentioned in history, but
the client does not store the matching blobs themselves. Instead, it can
fetch them on-demand from a remote repository.

-Peff

  reply	other threads:[~2019-10-30 20:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CA+M_GG35V3yNCfQ247PSrpP-R_f8bWNcBcmrnTWbrn1Nap_A4A@mail.gmail.com>
2019-10-30 17:08 ` Partial Clone garbage collection? Simon Holmberg
2019-10-30 18:17   ` без имени
2019-10-30 20:38     ` Jeff King [this message]
2019-10-30 20:37   ` Jeff King
2019-10-30 20:45     ` Jonathan Tan

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191030203833.GD29013@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=mykaralw@yandex.ru \
    --cc=simon.holmberg@avalanchestudios.se \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).