Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
"rebase -i": support special-purpose editor to edit insn sheet
[gitweb.git]
/
transport-helper.c
diff --git
a/transport-helper.c
b/transport-helper.c
index 74c3122df1835c45a6b621205fb18b4fc89af366..4eab844d4abfa29ce53b6245a5821ee7be03641b 100644
(file)
--- a/
transport-helper.c
+++ b/
transport-helper.c
@@
-746,6
+746,10
@@
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)
string_list_append(&revlist_args, ref->peer_ref->name);