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
This commit is contained in:
@ -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));
|
||||
|
Reference in New Issue
Block a user