Re: [PATCH] drop support for "experimental" loose objects
- From
Joey Hess <joey@kitenet.net>
- Date
- Nov 21, 2013, 16:04 UTC
- Message-ID
- <20131121160426.GA21843@kitenet.net>
- In-Reply-To
- <20131121114157.GA7171@sigill.intra.peff.net>
Jeff King wrote:
Show 5 quoted lines
> This latter behavior is much worse for two reasons. One, > git reports an allocation error when the real error is > corruption. And two, the program dies unconditionally, so > you cannot even run fsck (which would otherwise ignore the > broken object and keep going).
BTW, I've also seen git cat-file --batch report wrong sizes for objects, sometimes without crashing. This is particularly problimatic because if the object size is wrong, it's very hard to detect the actual end of the object output in the batch mode stream.
-- see shy jo