diff options
-rw-r--r-- | transport-helper.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/transport-helper.c b/transport-helper.c index 74c3122df1..4eab844d4a 100644 --- 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); |