X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=transport.c;h=ea9dcb6612d92c123c66c2eee03bc933ccb2b13a;hb=09b90fb3c065ac5ac2ad051596b036131ecedbd5;hp=401b8dd35ce9acd88f38440fc52b908898119a81;hpb=0f360763c02d1230614e23f94fb298dab0162aa0;p=git.git diff --git a/transport.c b/transport.c index 401b8dd35..ea9dcb661 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)) { @@ -1152,7 +1154,7 @@ int transport_disconnect(struct transport *transport) } /* - * Strip username (and password) from an url and return + * Strip username (and password) from a URL and return * it in a newly allocated string. */ char *transport_anonymize_url(const char *url)