transport-helper: die early on encountering deleted refs
commit105fe3e457fba1dc005aa649410ec3962624232a
authorSverre Rabbelier <srabbelier@gmail.com>
Sat, 16 Jul 2011 13:03:41 +0000 (16 15:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Jul 2011 18:17:48 +0000 (19 11:17 -0700)
treed6fbd3af6608bfdffabe2610261e331338e1e314
parenta515ebe9f1ac9bc248c12a291dc008570de505ca
transport-helper: die early on encountering deleted refs

Remote helpers do not support deleting refs by means of the 'export'
command sincethe fast-import protocol does not support it.

Check explicitly for deleted refs and die early.

Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport-helper.c