aboutsummaryrefslogtreecommitdiff
path: root/git-gui
diff options
context:
space:
mode:
authorTorsten Bögershausen <tboegi@web.de>2013-11-28 20:50:15 +0100
committerJunio C Hamano <gitster@pobox.com>2013-12-09 14:54:48 -0800
commita2036d7e00ad8aa16ba010a80078e10f0e4568a3 (patch)
tree8eed4dd08703b9a9f514b2ee538ffa7ef90f21b3 /git-gui
parentc59ab2e52a64abd7fded97e0983a9b7f3d0508a0 (diff)
downloadgit-a2036d7e00ad8aa16ba010a80078e10f0e4568a3.tar.gz
git-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 'git-gui')
0 files changed, 0 insertions, 0 deletions