Re: [PATCHv2 2/2] receive-pack: Add receive.objectCountLimit to refuse push with too many objects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Shawn Pearce <spearce@xxxxxxxxxxx> writes:

> If we are going to put limits in, does it make sense to try and push
> these limits back to pack-objects in a more detailed way? You talked
> about depth of history, or size of pack. pack-objects could
> approximate both.

I think the receiving end switches between index-pack and unpack-objects
based on the object count, but if we can add a protocol extension to carry
these estimates from the sender, we would be much better off. A large push
with a small number of objects would want to keep everything in a pack,
for example, but currently there is no way to do so.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]