Re: Fetching everything in another bare repo
- From
Jeff King <peff@peff.net>
- Date
- Mar 10, 2023, 09:04 UTC
- Message-ID
- <ZArykwkX827/Qpi3@coredump.intra.peff.net>
- In-Reply-To
- <20230309175718.j5c2dbx3asphiqhu@meerkat.local>
On Thu, Mar 09, 2023 at 12:57:18PM -0500, Konstantin Ryabitsev wrote:
Show 9 quoted lines
> > I will also say that while I implemented this extension a while back, it > > never actually saw production use for my intended case. So I think it's > > pretty good (and certainly safer than nothing), but it's not thoroughly > > tested in the wild. > > We use it in grokmirror for objstore repositories [1] (the super-parents of > all forks), as a precautionary measure against a sysadmin running any kind of > manual operation that may result in loose objects being deleted. I do believe > it works well for that purpose.
Ah, cool, thanks for letting us know. That's pretty much the same case I wrote it for (GitHub's shared-object-store fork repositories), but deployment got hung up on compatibility issues (since we used libgit2, as well). And then I never got around to it, and nobody seems to have cared too much. It's a nice safety to have, but I don't recall a single instance of an unintended naive gc ever destroying things. :)
-Peff