@ -284,6 +284,9 @@ static int rsync_transport_push(struct transport *transport,
@@ -284,6 +284,9 @@ static int rsync_transport_push(struct transport *transport,
struct child_process rsync;
const char *args[10];
if (flags & TRANSPORT_PUSH_MIRROR)
return error("rsync transport does not support mirror mode");
/* first push the objects */
strbuf_addstr(&buf, transport->url);
@ -387,6 +390,9 @@ static int curl_transport_push(struct transport *transport, int refspec_nr, cons
@@ -387,6 +390,9 @@ static int curl_transport_push(struct transport *transport, int refspec_nr, cons
int argc;
int err;
if (flags & TRANSPORT_PUSH_MIRROR)
return error("http transport does not support mirror mode");
@ -655,6 +661,7 @@ static int git_transport_push(struct transport *transport, int refspec_nr, const
@@ -655,6 +661,7 @@ static int git_transport_push(struct transport *transport, int refspec_nr, const