The remote helper namespace should not be updated.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Felipe Contreras11 years agocommitted byJunio C Hamano
if (push_update_ref_status(&buf, &ref, remote_refs))
continue;
if (!data->refspecs || data->no_private_update)
if (flags & TRANSPORT_PUSH_DRY_RUN || !data->refspecs || data->no_private_update)
continue;
/* propagate back the update to the remote namespace */
@ -832,7 +833,7 @@ static int push_refs_with_push(struct transport *transport,
@@ -832,7 +833,7 @@ static int push_refs_with_push(struct transport *transport,
@ -886,7 +887,7 @@ static int push_refs_with_export(struct transport *transport,
@@ -886,7 +887,7 @@ static int push_refs_with_export(struct transport *transport,