connect: split git:// setup into a separate function
commit2ac67cb63b715989657cee97b3181455b1380b3f
authorJonathan Nieder <jrnieder@gmail.com>
Mon, 20 Nov 2017 21:23:27 +0000 (20 13:23 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Nov 2017 05:01:02 +0000 (21 14:01 +0900)
tree1cdbbcd1ecf295229c1119c738df7caf197ed0c5
parent8e349780ecb9bcec52c7df22fcbfb4afd0d7936c
connect: split git:// setup into a separate function

The git_connect function is growing long.  Split the
PROTO_GIT-specific portion to a separate function to make it easier to
read.

No functional change intended.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Reviewed-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
connect.c