diff --git a/transport.c b/transport.c
index cac0c065ff9f82011b204f932932283b01a5d034..c20267ce4f81053e4451b3502eef5e646abaf2d2 100644 (file)
--- a/transport.c
+++ b/transport.c
match_flags |= MATCH_REFS_ALL;
if (flags & TRANSPORT_PUSH_MIRROR)
match_flags |= MATCH_REFS_MIRROR;
+ if (flags & TRANSPORT_PUSH_PRUNE)
+ match_flags |= MATCH_REFS_PRUNE;
if (match_push_refs(local_refs, &remote_refs,
refspec_nr, refspec, match_flags)) {