Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Keep option-like branch names out of the switcher
Such a name is refused as a head before git could read it as an option, and the fallback branch already skips it, so the switcher offered a choice that led only to an error page.
-rw-r--r--source/ui-shared.c4
-rwxr-xr-xtests/t0303-robustness.sh7
2 files changed, 11 insertions, 0 deletions