Re: [PATCH v2] receive-pack: not receive pack file with large object
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 1, 2021, 18:43 UTC
- Message-ID
- <xmqqv92g7fhm.fsf@gitster.g>
- In-Reply-To
- <YVaw6agcPNclhws8@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> Unlike the patches here, ours is limiting the logical size of an object > (so a 100MB blob limit is on the uncompressed size). It happens in > sha1_object(), where we have that size.
I like it when I hear people doing things in the "right" way (the definition of being "right" in this case is to apply the limit to the size that is end-user facing---otherwise you cannot justify an arbitrary limit). ;-)