diff --git a/transport.c b/transport.c
index 401b8dd35ce9acd88f38440fc52b908898119a81..ea9dcb6612d92c123c66c2eee03bc933ccb2b13a 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)) {
}
/*
- * 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)