summaryrefslogtreecommitdiff
path: root/contrib/remote-helpers/test-bzr.sh
diff options
context:
space:
mode:
authorLibravatar Torsten Bögershausen <tboegi@web.de>2013-11-28 20:50:15 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-12-09 14:54:48 -0800
commita2036d7e00ad8aa16ba010a80078e10f0e4568a3 (patch)
tree8eed4dd08703b9a9f514b2ee538ffa7ef90f21b3 /contrib/remote-helpers/test-bzr.sh
parentconnect.c: refactor url parsing (diff)
downloadtgif-a2036d7e00ad8aa16ba010a80078e10f0e4568a3.tar.xz
git_connect(): use common return point
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 'contrib/remote-helpers/test-bzr.sh')
0 files changed, 0 insertions, 0 deletions