dash is legal in git remote names
This commit is contained in:
parent
e224b99f36
commit
0ffb0a4d25
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ makeLegalName s = case filter legal $ replace "/" "_" s of
|
||||||
{- Only alphanumerics, and a few common bits of punctuation common
|
{- Only alphanumerics, and a few common bits of punctuation common
|
||||||
- in hostnames. -}
|
- in hostnames. -}
|
||||||
legal '_' = True
|
legal '_' = True
|
||||||
|
legal '-' = True
|
||||||
legal '.' = True
|
legal '.' = True
|
||||||
legal c = isAlphaNum c
|
legal c = isAlphaNum c
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue