Re: [PATCH 01/10] loose_object_info(): BUG() on inflating content with unknown type
- From
Taylor Blau <me@ttaylorr.com>
- Date
- Feb 28, 2025, 00:14 UTC
- Message-ID
- <Z8D/5Kmsn6XqXgaZ@nand.local>
- In-Reply-To
- <20250225062824.GA1293961@coredump.intra.peff.net>
On Tue, Feb 25, 2025 at 01:28:24AM -0500, Jeff King wrote:
Show 9 quoted lines
> It really makes me wonder if this "unknown type" stuff has any value > at all. You can create an object with any type using "hash-object > --literally -t". And you can ask about its type and size. But you can > never retrieve the object content! Nor can you pack it or transfer it, > since packs use a numeric type field. > > This code was added ~2015, but I don't think anybody built more on top > of it. I wonder if we should just consider it a failed experiment and > rip out the support.
Yeah, I was wondering the same thing. I think 10 years seems like a long enough time to declare that it was a failed experiment ;-).
Thanks, Taylor