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
|
||||
- in hostnames. -}
|
||||
legal '_' = True
|
||||
legal '-' = True
|
||||
legal '.' = True
|
||||
legal c = isAlphaNum c
|
||||
|
||||
|
|
Loading…
Reference in a new issue