transport-helper: mismerge fix

Commit 9c51558 (transport-helper: trivial code shuffle) moved these
lines above, but 99d9ec0 (Merge branch 'fc/transport-helper-no-refspec')
had a wrong merge conflict and readded them.

Reported-by: Richard Hansen <rhansen@bbn.com>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Felipe Contreras 2013-10-31 03:36:29 -06:00 committed by Junio C Hamano
parent 3d092bfc6f
commit a21455ae66

View file

@ -874,9 +874,6 @@ static int push_refs_with_export(struct transport *transport,
}
free(private);
if (ref->deletion)
die("remote-helpers do not support ref deletion");
if (ref->peer_ref) {
if (strcmp(ref->peer_ref->name, ref->name))
die("remote-helpers do not support old:new syntax");