This commit is contained in:
Joey Hess 2015-08-04 15:44:46 -04:00
parent 1cc8bac2cd
commit a6374b7a3d

View file

@ -268,7 +268,7 @@ sshOptionsTo :: Git.Repo -> RemoteGitConfig -> Git.Repo -> Annex Git.Repo
sshOptionsTo remote gc g
| not (Git.repoIsUrl remote) || Git.repoIsHttp remote = unchanged
| otherwise = case Git.Url.hostuser remote of
Nothing -> uncached
Nothing -> unchanged
Just host -> do
(msockfile, _) <- sshCachingInfo (host, Git.Url.port remote)
case msockfile of