fn ref_is_included(
short_name: &str,
include: &GlobSet,
exclude: &GlobSet,
) -> boolExpand description
Decide whether a ref (by its short name, e.g. "main" or "v1.0.0")
should appear in the generated UI, per git_ui.exclude/git_ui.include.
When include is non-empty, it acts as an allowlist: only refs matching
at least one include pattern are kept. When include is empty, every
ref is a candidate. From the resulting candidates, any ref matching an
exclude pattern is then dropped.