summaryrefslogtreecommitdiff
path: root/Remotes.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-03-05 15:13:16 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-03-05 15:13:16 -0400
commitacde7a1736fdee58be0af0773da6e2d9e0c2d220 (patch)
tree2eae6e51acc7b02cfb58a38437309c2a11d954d5 /Remotes.hs
parent5c4f90b2d0188abf2aa40e1e5f6d3ecc41e5aa5e (diff)
improve GitRepos functions for pulling apart URL to repo
Diffstat (limited to 'Remotes.hs')
-rw-r--r--Remotes.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remotes.hs b/Remotes.hs
index a7d6be67d..aeaa5874f 100644
--- a/Remotes.hs
+++ b/Remotes.hs
@@ -318,7 +318,7 @@ git_annex_shell r command params
| Git.repoIsSsh r = do
sshoptions <- repoConfig r "ssh-options" ""
return $ Just ("ssh", map Param (words sshoptions) ++
- [Param (Git.urlHostFull r), Param sshcmd])
+ [Param (Git.urlAuthority r), Param sshcmd])
| otherwise = return Nothing
where
dir = Git.workTree r