diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-09-02 18:45:44 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-09-02 18:45:44 -0700 |
commit | 8cc15acfb8845bd23f68c92a51b68d57a72a9fed (patch) | |
tree | 186b074ca23eb3246218d692b2014afe023fda8a /builtin-clone.c | |
parent | d2feb01aa580843261c25d8609369d17bcdf6028 (diff) | |
parent | 12d4996622f524e61cbf855b32600150a8c94c02 (diff) | |
download | git-8cc15acfb8845bd23f68c92a51b68d57a72a9fed.tar.gz |
Merge branch 'maint-1.6.2' into maint-1.6.3
* maint-1.6.2:
clone: disconnect transport after fetching
Diffstat (limited to 'builtin-clone.c')
-rw-r--r-- | builtin-clone.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/builtin-clone.c b/builtin-clone.c index ba286e0160..6605e83407 100644 --- a/builtin-clone.c +++ b/builtin-clone.c @@ -551,8 +551,10 @@ int cmd_clone(int argc, const char **argv, const char *prefix) option_no_checkout = 1; } - if (transport) + if (transport) { transport_unlock_pack(transport); + transport_disconnect(transport); + } if (!option_no_checkout) { struct lock_file *lock_file = xcalloc(1, sizeof(struct lock_file)); |