connect: split ssh command line options into separate function
commitfce54ce422befdeb69d94f7576d3c23e94e41572
authorJonathan Nieder <jrnieder@gmail.com>
Mon, 20 Nov 2017 22:19:43 +0000 (20 14:19 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Nov 2017 05:01:02 +0000 (21 14:01 +0900)
tree4f9dadcd9aa66edba461e2db3f92d498a9dea42b
parent2ac67cb63b715989657cee97b3181455b1380b3f
connect: split ssh command line options into separate function

The git_connect function is growing long.  Split the portion that
discovers an ssh command and options it accepts before the service
name and path 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