summaryrefslogtreecommitdiff
path: root/Assistant/Sync.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-10-29 19:14:30 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-10-29 19:14:30 -0400
commitcb504374b53a940ea12feeb5ba91dd78466be455 (patch)
treea9e954e85c333a494016df935f32f13aeb38c02f /Assistant/Sync.hs
parent86b3857a4c1edafef817935ad3c5d63e6d2d3b25 (diff)
split ScanRemotes and lifted
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) =