From: Brandon Williams Date: Wed, 14 Mar 2018 18:31:46 +0000 (-0700) Subject: transport: store protocol version X-Git-Tag: v2.18.0-rc0~105^2~26 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/432e95651031025e421ae2f521f7c0d9f60c527c?ds=inline;hp=432e95651031025e421ae2f521f7c0d9f60c527c transport: store protocol version Once protocol_v2 is introduced requesting a fetch or a push will need to be handled differently depending on the protocol version. Store the protocol version the server is speaking in 'struct git_transport_data' and use it to determine what to do in the case of a fetch or a push. Signed-off-by: Brandon Williams Signed-off-by: Junio C Hamano ---