"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Reuse of packed/loose objects?
To:
gameoftrees@openbsd.org
Date:
Mon, 17 Mar 2025 15:08:26 +0100

Download raw body.

Thread
There's something I don't understand.

I have an OpenBSD src repository with an llvm19 branch.  Say I run
gotadmin cleanup, after which everything is in a single pack file.
Then I fetch new upstream commits and rebase the llvm19 branch on
master.  Now I have some 15,000 loose objects.  Okay.  Later, I
fetch some more upstream commits, rebase llvm19 again, and have...
a few more, but still some 15,000 loose objects.

So it seems loose objects are reused--otherwise every rebase would
add another 15,000--but packed ones aren't.  Is this expected?

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de