summaryrefslogtreecommitdiff
path: root/Remotes.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Remotes.hs')
-rw-r--r--Remotes.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Remotes.hs b/Remotes.hs
index 5fc594ee2..7f6a6718b 100644
--- a/Remotes.hs
+++ b/Remotes.hs
@@ -91,7 +91,8 @@ tryGitConfigRead r
- -}
readConfigs :: Annex ()
readConfigs = do
- remotesread <- Annex.getState Annex.remotesread
+-- remotesread <- Annex.getState Annex.remotesread
+ let remotesread = False
unless remotesread $ do
g <- Annex.gitRepo
allremotes <- filterM repoNotIgnored $ Git.remotes g
@@ -104,7 +105,7 @@ readConfigs = do
let todo = cheap ++ doexpensive
unless (null todo) $ do
mapM_ tryGitConfigRead todo
- Annex.changeState $ \s -> s { Annex.remotesread = True }
+-- Annex.changeState $ \s -> s { Annex.remotesread = True }
where
cachedUUID r = do
u <- getUUID r