git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Cleanup tool for old blobs in partial clone

From
MKMiłosz Kosobucki <mikom3@gmail.com>
Date
Dec 15, 2020, 21:41 UTC
Message-ID
<3b90b261-7920-671a-6566-70cd97b8d0e4@gmail.com>
In-Reply-To
<CAP8UFD2ibGdznacrC=Sf6pZtzEiGJ7v+2L8PbM3m2PDdSBoYYg@mail.gmail.com>
Hello Christian.
On 13.12.2020 11:10, Christian Couder wrote:
Show 25 quoted lines
> Hi,
> 
> On Fri, Dec 11, 2020 at 3:07 PM Miłosz Kosobucki <mikom3@gmail.com> wrote:
> 
> I have been playing a bit with partial clone (see
> https://lore.kernel.org/git/CAP8UFD35kk10FpUnPpiAUzTHJbm=SJ-76OTmkTwBstGFe3Zgdw@mail.gmail.com/),
> and I started working on `git repack` and the underlying `git
> pack-objects`, so that `git repack -a -d --filter=...` could work. I
> cannot promise anything about when it will be submitted, merged,
> released, etc.
> 
> Also I have been working on it on the server side though, where it's
> ok to get rid of everything that is stored elsewhere. It might not be
> your case, but on the client side one might want to keep the (large)
> blobs that can be reached directly from the tip of some branches,
> which might require further work.
> 
>> I couldn't find information about it anywhere in the docs. I vaguely
>> remember a mention of something like that possibly being done in the
>> future in partial clone (or maybe promisor remote?) patch mails but I
>> couldn't find it again.
> 
> Best,
> Christian.
> 

Thank you very much for this detailed information, and thanks for all the great work you and the git community are doing.

Best,
-- 
Miłosz Kosobucki
Previous: Christian Couder
Message 3 of 3 in “Cleanup tool for old blobs in partial clone”
  1. Miłosz KosobuckiDec 11, 2020
  2. Christian CouderDec 13, 2020
  3. Miłosz KosobuckiDec 15, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.