eliminate s2w8 and w82s
Note that the use of s2w8 in genUUIDInNameSpace made it truncate unicode characters. Luckily, genUUIDInNameSpace is only ever used on ASCII strings as far as I can determine. In particular, git-remote-gcrypt's gcrypt-id is an ASCII string.
This commit is contained in:
parent
3742263c99
commit
c873586e14
6 changed files with 10 additions and 25 deletions
|
@ -319,7 +319,7 @@ testServer sshinput@(SshInput { inputHostname = Just hn }) = do
|
|||
finduuid (k, v)
|
||||
| k == "annex.uuid" = Just $ toUUID v
|
||||
| k == fromConfigKey GCrypt.coreGCryptId =
|
||||
Just $ genUUIDInNameSpace gCryptNameSpace v
|
||||
Just $ genUUIDInNameSpace gCryptNameSpace (encodeBS v)
|
||||
| otherwise = Nothing
|
||||
|
||||
checkcommand c = "if which " ++ c ++ "; then " ++ report c ++ "; fi"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue