mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-16 08:10:40 +08:00
Previously a rule like `refs/heads/releases-*` would be rewritten incorrectly to `refs/heads/releases-**/*` matching the 'trailing asterisk' rule. Simplify the rewrite rule so that a trailing `*` becomes a prefix matching rule. Add tests.