X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=transport.c;h=181f8f24d14e91c106b1d36133292a7ee99333fb;hb=eb2c67ccbd5c6c5b7c73752dca2526bcce022b9e;hp=401b8dd35ce9acd88f38440fc52b908898119a81;hpb=3ecd0c8b4d9e245e255aa4c061d6a474eb571298;p=git.git diff --git a/transport.c b/transport.c index 401b8dd35..181f8f24d 100644 --- a/transport.c +++ b/transport.c @@ -1032,6 +1032,8 @@ int transport_push(struct transport *transport, 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)) {