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 /Backend.hs | |
parent | 4eb51126819fe01a003688267f481c6d8014ef47 (diff) |
use new getConfig
Diffstat (limited to 'Backend.hs')
-rw-r--r-- | Backend.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Backend.hs b/Backend.hs index 6810c3a44..19562205c 100644 --- a/Backend.hs +++ b/Backend.hs @@ -18,7 +18,7 @@ module Backend ( import System.Posix.Files import Common.Annex -import qualified Git.Config +import Config import qualified Annex import Annex.CheckAttr import Types.Key @@ -46,7 +46,7 @@ orderedList = do l' <- (lookupBackendName name :) <$> standard Annex.changeState $ \s -> s { Annex.backends = l' } return l' - standard = fromRepo $ parseBackendList . Git.Config.get "annex.backends" "" + standard = parseBackendList <$> getConfig "annex.backends" "" parseBackendList [] = list parseBackendList s = map lookupBackendName $ words s |