By using fast-export's new --refspec option.
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
@ -856,7 +856,7 @@ static int push_refs_with_export(struct transport *transport,
@@ -856,7 +856,7 @@ static int push_refs_with_export(struct transport *transport,
@ -894,8 +894,13 @@ static int push_refs_with_export(struct transport *transport,
@@ -894,8 +894,13 @@ static int push_refs_with_export(struct transport *transport,
free(private);
if (ref->peer_ref) {
if (strcmp(ref->peer_ref->name, ref->name))
die("remote-helpers do not support old:new syntax");
@ -903,6 +908,8 @@ static int push_refs_with_export(struct transport *transport,
@@ -903,6 +908,8 @@ static int push_refs_with_export(struct transport *transport,
if (get_exporter(transport, &exporter, &revlist_args))