pub fn make_refmapping_ignore_predicate(
fetch_tags: Tags,
ref_map: &RefMap,
) -> impl Fn(&Mapping) -> bool + '_
Available on crate feature
fetch
only.Expand description
Create a predicate that checks if a refspec mapping should be ignored.
We want to ignore mappings during negotiation if they would be handled implicitly by the server, which is the case
when tags would be sent implicitly due to Tags::Included
.