summaryrefslogtreecommitdiff
path: root/Assistant/Sync.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Assistant/Sync.hs')
-rw-r--r--Assistant/Sync.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Assistant/Sync.hs b/Assistant/Sync.hs
index b16382d82..0bb49973a 100644
--- a/Assistant/Sync.hs
+++ b/Assistant/Sync.hs
@@ -41,8 +41,7 @@ reconnectRemotes notifypushes rs = void $ do
alertWhile (syncAlert rs) $ do
(ok, diverged) <- sync
=<< liftAnnex (inRepo Git.Branch.current)
- scanremotes <- getAssistant scanRemoteMap
- liftIO $ addScanRemotes scanremotes diverged rs
+ addScanRemotes diverged rs
return ok
where
(gitremotes, _specialremotes) =