summaryrefslogtreecommitdiff
path: root/Backend.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Backend.hs')
-rw-r--r--Backend.hs4
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