diff options
author | Joey Hess <joey@kitenet.net> | 2012-03-22 00:23:15 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-03-22 17:32:47 -0400 |
commit | f1398b558316a936690a8f3b01493f498d15b659 (patch) | |
tree | ac58768f5e421b985f3a2ed135bb338b03a991ec /Annex/Ssh.hs | |
parent | 4eb51126819fe01a003688267f481c6d8014ef47 (diff) |
use new getConfig
Diffstat (limited to 'Annex/Ssh.hs')
-rw-r--r-- | Annex/Ssh.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Annex/Ssh.hs b/Annex/Ssh.hs index 79cfbe908..e6cd6a926 100644 --- a/Annex/Ssh.hs +++ b/Annex/Ssh.hs @@ -15,7 +15,7 @@ import qualified Data.Map as M import Common.Annex import Annex.LockPool import qualified Git -import qualified Git.Config +import Config import qualified Build.SysConfig as SysConfig {- Generates parameters to ssh to a given host (or user@host) on a given @@ -47,7 +47,7 @@ sshInfo (host, port) = ifM caching where caching = fromMaybe SysConfig.sshconnectioncaching . Git.configTrue - <$> fromRepo (Git.Config.get "annex.sshcaching" "") + <$> getConfig "annex.sshcaching" "" cacheParams :: FilePath -> [CommandParam] cacheParams socketfile = |