use new getConfig
This commit is contained in:
parent
4eb5112681
commit
f1398b5583
8 changed files with 16 additions and 21 deletions
|
@ -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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue