Refuse ref names that git would read as options !604

merged merged by cmc on 2026-11-01 07:26 UTC · krz/gitbay:ref-options into main

Discussion

cmc

Push refuses new branch and tag names starting with '-' (deleting one is allowed); default-branch refuses them; the git log, rev-list and merge-base helpers end option parsing before refs; gitbay mr rebase refuses dash-led branch names. Ref #341