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

Re: [RFC PATCH v2 08/16] remote-helpers: Support custom transport options

From: Daniel Barkalow <hidden>
Date: 2016-06-15 22:47:33

On Tue, 13 Oct 2009, Shawn O. Pearce wrote:
Daniel Barkalow [off-list ref] wrote:
quoted
On Tue, 13 Oct 2009, Shawn O. Pearce wrote:
quoted
quoted
quoted
+'option thin'::
+	Transfer the data as a thin pack if possible.
Does anyone still use non-default thinness? 
Its a command line option on the porcelain.
Actually, the command line supports turning it on, and it defaults to on. 
So I think your helper can safely assume that it's on. :)
For fetch it defaults to "on", but for push I think it defaults
to "off".  Turning it on when pushing on a low bandwidth network
connection might actually be useful to an end-user.
Nope, on ~line 849 of transport.c, it gets set for all native-transport 
handlers, and never gets turned off. Looks like a misconversion 2 years 
ago defaulting "data->thin" to 1 instead of 0, but it seems not to have 
caused problems.

	-Daniel
*This .sig left intentionally blank*
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help