Re: [PATCH v3 07/10] connect: tell server that the client understands v1

2017-10-13 Thread Brandon Williams
On 10/10, Jonathan Tan wrote: > On Tue, 3 Oct 2017 13:15:04 -0700 > Brandon Williams wrote: > > > 2. ssh://, file:// > >Set 'GIT_PROTOCOL' environment variable with the desired protocol > >version. With the file:// transport, 'GIT_PROTOCOL' can be set > >

Re: [PATCH v3 07/10] connect: tell server that the client understands v1

2017-10-10 Thread Jonathan Tan
On Tue, 3 Oct 2017 13:15:04 -0700 Brandon Williams wrote: > 2. ssh://, file:// >Set 'GIT_PROTOCOL' environment variable with the desired protocol >version. With the file:// transport, 'GIT_PROTOCOL' can be set >explicitly in the locally running git-upload-pack or

[PATCH v3 07/10] connect: tell server that the client understands v1

2017-10-03 Thread Brandon Williams
Teach the connection logic to tell a serve that it understands protocol v1. This is done in 2 different ways for the builtin transports. 1. git:// A normal request to git-daemon is structured as "command path/to/repo\0host=..\0" and due to a bug introduced in 49ba83fb6 (Add