Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:51:14

Shawn Pearce [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help