map: Work when there are gcrypt remotes.
This commit is contained in:
parent
832598d1d9
commit
58db042033
5 changed files with 25 additions and 21 deletions
|
@ -30,7 +30,7 @@ toRepo r sshcmd = do
|
|||
g <- fromRepo id
|
||||
let c = extractRemoteGitConfig g (Git.repoDescribe r)
|
||||
let opts = map Param $ remoteAnnexSshOptions c
|
||||
let host = Git.Url.hostuser r
|
||||
let host = fromMaybe (error "bad ssh url") $ Git.Url.hostuser r
|
||||
params <- sshCachingOptions (host, Git.Url.port r) opts
|
||||
return $ params ++ Param host : sshcmd
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue