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:50:15 +0400
committerJunio C Hamano <gitster@pobox.com>2013-12-10 02:54:48 +0400
commita2036d7e00ad8aa16ba010a80078e10f0e4568a3 (patch)
tree8eed4dd08703b9a9f514b2ee538ffa7ef90f21b3 /builtin/fetch-pack.c
parentc59ab2e52a64abd7fded97e0983a9b7f3d0508a0 (diff)
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 'builtin/fetch-pack.c')
0 files changed, 0 insertions, 0 deletions