diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-09-03 04:52:18 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-09-03 04:52:18 +0200 |
commit | 193a5d195ba6b88e0d69f2b81dc4ec878bff8981 (patch) | |
tree | 55fc60687b9234a7113804fa259df47dd0dbde2c /builtin-clone.c | |
parent | push: teach --quiet to suppress "Everything up-to-date" (diff) | |
parent | Merge branch 'maint-1.6.3' into maint (diff) | |
download | git-193a5d195ba6b88e0d69f2b81dc4ec878bff8981.tar.xz git-193a5d195ba6b88e0d69f2b81dc4ec878bff8981.zip |
Merge branch 'maint'
* maint:
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 991a7ae92f..0f231d8af5 100644 --- a/builtin-clone.c +++ b/builtin-clone.c @@ -580,8 +580,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)); |