connect: teach client to recognize v1 server response
authorBrandon Williams <bmwill@google.com>
Mon, 16 Oct 2017 17:55:27 +0000 (10:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Oct 2017 01:51:29 +0000 (10:51 +0900)
commit2609043da00ea0db411c44179136b07bf210bf75
treef8a501be93ed1651e583c44b546847aa0a55017a
parentaa9bab29b8b5e70be5c89e375bfba6e0051b3682
connect: teach client to recognize v1 server response

Teach a client to recognize that a server understands protocol v1 by
looking at the first pkt-line the server sends in response.  This is
done by looking for the response "version 1" send by upload-pack or
receive-pack.

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