Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
color: allow multiple attributes
[gitweb.git]
/
builtin-clone.c
diff --git
a/builtin-clone.c
b/builtin-clone.c
index c338910b1c76f3c994e4a22c9c0a1da38843e050..1c1d72911757c116b0cd19dd4b50c10ebbd68214 100644
(file)
--- a/
builtin-clone.c
+++ b/
builtin-clone.c
@@
-600,8
+600,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));