Merge branch 'cc/replace-with-the-same-type'
[gitweb.git] / transport.c
index b321d6a49d40c78612284557f7ef6d7822a45c8f..7202b7777d804b75eb2ec54f666e81173690678c 100644 (file)
@@ -881,6 +881,8 @@ void transport_take_over(struct transport *transport,
        transport->push_refs = git_transport_push;
        transport->disconnect = disconnect_git;
        transport->smart_options = &(data->options);
+
+       transport->cannot_reuse = 1;
 }
 
 static int is_local(const char *url)