diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-09-02 19:51:55 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-09-02 19:51:55 -0700 |
commit | daf85d97f8ae4ba462e55c79b1520342028f24d7 (patch) | |
tree | 021c7afa5581b1d56531b03cef80010b19e23001 /builtin-clone.c | |
parent | 82c3e210002d452867a46a9d8806a8aee82ae9d0 (diff) | |
parent | 8cc15acfb8845bd23f68c92a51b68d57a72a9fed (diff) | |
download | git-daf85d97f8ae4ba462e55c79b1520342028f24d7.tar.gz |
Merge branch 'maint-1.6.3' into maint
* maint-1.6.3:
git-cvsserver: no longer use deprecated 'git-subcommand' commands
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 32dea74d78..e51978a157 100644 --- a/builtin-clone.c +++ b/builtin-clone.c @@ -574,8 +574,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)); |