Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Reduce the number of connects when fetching
[gitweb.git]
/
builtin-fetch.c
diff --git
a/builtin-fetch.c
b/builtin-fetch.c
index 320e235682340f07cb28b0a4de0c39b6bd9da383..ac335f20feba9a9e68098c9e89d69cf61c1c3ed7 100644
(file)
--- a/
builtin-fetch.c
+++ b/
builtin-fetch.c
@@
-557,6
+557,8
@@
static int do_fetch(struct transport *transport,
free_refs(fetch_map);
+ transport_disconnect(transport);
+
return 0;
}