]> git.ipfire.org Git - thirdparty/git.git/commit - remote-curl.c
remote-curl: store the protocol version the server responded with
authorBrandon Williams <bmwill@google.com>
Thu, 15 Mar 2018 17:31:37 +0000 (10:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Mar 2018 19:01:09 +0000 (12:01 -0700)
commit49e85e95006e6a8e544372e529834319fcb0987c
treec0be305b159706468e5b500c67d6c1f4108348cf
parentf08a5d42ea0567af12e703948b6859e30129ec1c
remote-curl: store the protocol version the server responded with

Store the protocol version the server responded with when performing
discovery.  This will be used in a future patch to either change the
'Git-Protocol' header sent in subsequent requests or to determine if a
client needs to fallback to using a different protocol version.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote-curl.c