connect: split ssh command line options into separate function
authorJonathan Nieder <redacted>
Mon, 20 Nov 2017 22:19:43 +0000 (14:19 -0800)
committerJunio C Hamano <redacted>
Tue, 21 Nov 2017 05:01:02 +0000 (14:01 +0900)
commitfce54ce422befdeb69d94f7576d3c23e94e41572
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 <redacted>
Reviewed-by: Stefan Beller <redacted>
Signed-off-by: Junio C Hamano <redacted>
connect.c
git clone https://git.99rst.org/PROJECT