Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Bögershausen <tboegi@web.de>2013-11-28 23:49:54 +0400
committerJunio C Hamano <gitster@pobox.com>2013-12-10 02:54:47 +0400
commit83b058752707a6ba4af51ebc98c47913bc7d2d25 (patch)
tree2c8026c588066e1a1f1b5ce8dae4c18f73c70a29 /connect.h
parent6a59974869c0a6e9399101bc02223b4c00a8aff2 (diff)
git_connect(): refactor the port handling for ssh
Use get_host_and_port() even for ssh. Remove the variable port git_connect(), and simplify parse_connect_url() Use only one return point in git_connect(), doing the free() and return conn. t5601 had 2 corner test cases which now pass. Signed-off-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'connect.h')
0 files changed, 0 insertions, 0 deletions