transport-helper: refactor process_connect_service
authorBrandon Williams <bmwill@google.com>
Thu, 15 Mar 2018 17:31:33 +0000 (10:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Mar 2018 19:01:09 +0000 (12:01 -0700)
commit176e85c1b4bd055633e01dd7bb717191d369e8a1
tree6fd580a81de197acbb13bd16ff86509fabd09ac5
parentb1c2edfc18028169c5e64a8320b0877cdcbf3397
transport-helper: refactor process_connect_service

A future patch will need to take advantage of the logic which runs and
processes the response of the connect command on a remote helper so
factor out this logic from 'process_connect_service()' and place it into
a helper function 'run_connect()'.

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