diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-02-11 16:47:07 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-11 16:47:07 -0800 |
commit | 40aab8119f38c622f58d8e612e7a632eb1f3ded2 (patch) | |
tree | b7f492f0a23620c8399b073d6cfec9375f1ce470 /builtin-ls-remote.c | |
parent | Merge branch 'mw/send-email' (diff) | |
parent | Fix "git clone" for git:// protocol (diff) | |
download | tgif-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-ls-remote.c')
-rw-r--r-- | builtin-ls-remote.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-ls-remote.c b/builtin-ls-remote.c index 6dd31d1dd6..023754986e 100644 --- a/builtin-ls-remote.c +++ b/builtin-ls-remote.c @@ -94,6 +94,7 @@ int cmd_ls_remote(int argc, const char **argv, const char *prefix) transport_set_option(transport, TRANS_OPT_UPLOADPACK, uploadpack); ref = transport_get_remote_refs(transport); + transport_disconnect(transport); if (!ref) return 1; |