aboutsummaryrefslogtreecommitdiff
path: root/builtin-fetch.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-02-11 16:47:07 -0800
committerJunio C Hamano <gitster@pobox.com>2008-02-11 16:47:07 -0800
commit40aab8119f38c622f58d8e612e7a632eb1f3ded2 (patch)
treeb7f492f0a23620c8399b073d6cfec9375f1ce470 /builtin-fetch.c
parente3560df69d5ff8047bb82524ef23f7c08c729b64 (diff)
parentfb32c9172a1f2828d75f5d17d8ceea8ffe692f2a (diff)
downloadgit-40aab8119f38c622f58d8e612e7a632eb1f3ded2.tar.gz
git-40aab8119f38c622f58d8e612e7a632eb1f3ded2.tar.xz
Merge branch 'db/no-separate-ls-remote-connection' (early part)
* 'db/no-separate-ls-remote-connection' (early part): Fix "git clone" for git:// protocol Reduce the number of connects when fetching
Diffstat (limited to 'builtin-fetch.c')
-rw-r--r--builtin-fetch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin-fetch.c b/builtin-fetch.c
index 320e23568..ac335f20f 100644
--- a/builtin-fetch.c
+++ b/builtin-fetch.c
@@ -557,6 +557,8 @@ static int do_fetch(struct transport *transport,
free_refs(fetch_map);
+ transport_disconnect(transport);
+
return 0;
}