From: Jonathan Tan Date: Tue, 09 Apr 2019 18:49:49 GMT Subject: Re: [PATCH] clone: send server options when using protocol v2 Message-ID: <20190409184949.207114-1-jonathantanmy@google.com> In-Reply-To: > Does the code behave sensibly when the --server-option=... option is > given and > > (a) the given option is not understood by the other side that talks > protocol v2? Or > > (b) it turns out that the other side does not talk protocol v2? > > In the former case, I would expect that there would be a way to > respond with a failure for the other side and "git clone" should > notice and respond by die()-ing at the end. Right now, the server ignores it (it collects them as "keys" in process_request() in serve.c and then passes them to the individual commands, but they don't do anything about it). Right now it's documented as: -o