]> git.ipfire.org Git - thirdparty/git.git/commit - connect.c
connect: split ssh option computation to its own function
authorJonathan Nieder <jrnieder@gmail.com>
Mon, 20 Nov 2017 21:26:19 +0000 (13:26 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Nov 2017 05:01:02 +0000 (14:01 +0900)
commit957e2ad28290076fffe3bf28ae8609c637cf8151
tree2351a0c112d9a1ef83fe5c45171c3fe6c173c123
parentfce54ce422befdeb69d94f7576d3c23e94e41572
connect: split ssh option computation to its own function

This puts the determination of options to pass to each ssh variant
(see ssh.variant in git-config(1)) in one place.

A follow-up patch will use this in an initial dry run to detect which
variant to use when the ssh command is ambiguous.

No functional change intended yet.

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