diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-09-02 19:52:18 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-09-02 19:52:18 -0700 |
commit | 193a5d195ba6b88e0d69f2b81dc4ec878bff8981 (patch) | |
tree | 55fc60687b9234a7113804fa259df47dd0dbde2c /builtin-clone.c | |
parent | 2e5ed5f21b5b978268d7e4823fe777fdff20f544 (diff) | |
parent | daf85d97f8ae4ba462e55c79b1520342028f24d7 (diff) | |
download | git-193a5d195ba6b88e0d69f2b81dc4ec878bff8981.tar.gz |
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)); |