If the end-user requested a dry-run push we should pass that flag
though to rsync so that the rsync command can show what it would do
(or not do) if push was to be executed without the --dry-run flag.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
@ -281,7 +281,7 @@ static int rsync_transport_push(struct transport *transport,
@@ -281,7 +281,7 @@ static int rsync_transport_push(struct transport *transport,
@ -291,14 +291,19 @@ static int rsync_transport_push(struct transport *transport,
@@ -291,14 +291,19 @@ static int rsync_transport_push(struct transport *transport,
return error("Could not push objects to %s", transport->url);
@ -316,7 +321,11 @@ static int rsync_transport_push(struct transport *transport,
@@ -316,7 +321,11 @@ static int rsync_transport_push(struct transport *transport,
} else if (write_refs_to_temp_dir(&temp_dir, refspec_nr, refspec))