summaryrefslogtreecommitdiff
path: root/Backend.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Backend.hs')
-rw-r--r--Backend.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Backend.hs b/Backend.hs
index 136c2eb7a..c7cb57440 100644
--- a/Backend.hs
+++ b/Backend.hs
@@ -21,6 +21,7 @@ import System.Posix.Files
import Common.Annex
import qualified Git
+import qualified Git.Config
import qualified Annex
import Types.Key
import qualified Types.Backend as B
@@ -47,7 +48,7 @@ orderedList = do
l' <- (lookupBackendName name :) <$> standard
Annex.changeState $ \s -> s { Annex.backends = l' }
return l'
- standard = fromRepo $ parseBackendList . Git.configGet "annex.backends" ""
+ standard = fromRepo $ parseBackendList . Git.Config.get "annex.backends" ""
parseBackendList [] = list
parseBackendList s = map lookupBackendName $ words s