dir: revert work-around for retired dangerous behavior
[gitweb.git] / transport.h
index 10f7556001c98c9da533c959b1e1c7b3ba8b2ca0..8f96bed775e720043658169b46f70e192cf76b41 100644 (file)
@@ -29,6 +29,12 @@ struct transport {
         */
        unsigned got_remote_refs : 1;
 
+       /*
+        * Transports that call take-over destroys the data specific to
+        * the transport type while doing so, and cannot be reused.
+        */
+       unsigned cannot_reuse : 1;
+
        /**
         * Returns 0 if successful, positive if the option is not
         * recognized or is inapplicable, and negative if the option