summaryrefslogtreecommitdiff
path: root/builtin/receive-pack.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-03-14 18:31:46 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-14 21:15:06 (GMT)
commit432e95651031025e421ae2f521f7c0d9f60c527c (patch)
treee9db68ee2d6226891355e35d13a7c30873307e29 /builtin/receive-pack.c
parentad6ac1244fd175d08bcee62060a9a0b7975930fb (diff)
downloadgit-432e95651031025e421ae2f521f7c0d9f60c527c.zip
git-432e95651031025e421ae2f521f7c0d9f60c527c.tar.gz
git-432e95651031025e421ae2f521f7c0d9f60c527c.tar.bz2
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 <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/receive-pack.c')
0 files changed, 0 insertions, 0 deletions