diff options
author | Joey Hess <joey@kitenet.net> | 2012-10-29 19:14:30 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-10-29 19:14:30 -0400 |
commit | cb504374b53a940ea12feeb5ba91dd78466be455 (patch) | |
tree | a9e954e85c333a494016df935f32f13aeb38c02f /Assistant/Sync.hs | |
parent | 86b3857a4c1edafef817935ad3c5d63e6d2d3b25 (diff) |
split ScanRemotes and lifted
Diffstat (limited to 'Assistant/Sync.hs')
-rw-r--r-- | Assistant/Sync.hs | 3 |
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) = |