X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=transport.c;h=181f8f24d14e91c106b1d36133292a7ee99333fb;hb=b1d645b58ac6c96ffdc8d9a01f0b44a10deb43f9;hp=401b8dd35ce9acd88f38440fc52b908898119a81;hpb=31e3d834b39b773831c3c3e2637f2d99bfad9cbf;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)) {