Code

tests: unset COLUMNS inherited from environment
[git.git] / transport.c
index 401b8dd35ce9acd88f38440fc52b908898119a81..181f8f24d14e91c106b1d36133292a7ee99333fb 100644 (file)
@@ -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)) {