diff options
author | Torsten Bögershausen <tboegi@web.de> | 2013-11-28 20:50:15 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-12-09 14:54:48 -0800 |
commit | a2036d7e00ad8aa16ba010a80078e10f0e4568a3 (patch) | |
tree | 8eed4dd08703b9a9f514b2ee538ffa7ef90f21b3 /transport.c | |
parent | c59ab2e52a64abd7fded97e0983a9b7f3d0508a0 (diff) | |
download | git-a2036d7e00ad8aa16ba010a80078e10f0e4568a3.tar.gz |
git_connect(): use common return pointtb/clone-ssh-with-colon-for-port
Use only one return point from git_connect(), doing the
free();
return conn;
only at one place in the code.
There may be a little confusion what the variable "host" is for. At
some places it is only the host part, at other places it may include
the port number, so change host into hostandport here.
Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.c')
0 files changed, 0 insertions, 0 deletions