Skip to main content

long_lived_among

Function long_lived_among 

Source
pub fn long_lived_among(refs: &[String]) -> Vec<String>
Expand description

The long-lived branch names among refs, given as full ref names.

refs/heads/<name> keeps its whole name, refs/remotes/<remote>/<name> drops the remote alone, and a remote HEAD pointer is skipped. A name is long-lived when it is a catalog entry other than the trunk or carries the release-line prefix; each appears once, sorted.