summaryrefslogtreecommitdiff
path: root/Assistant/Sync.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-12-06 17:15:45 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-12-06 17:15:50 -0400
commitea2c5fbf263bed9ab92923f61ebba4abcc91393f (patch)
tree0fd5247719d2b996e32b1c058ad32ab79f07d140 /Assistant/Sync.hs
parent7294d552066867a7019ea4a49af00cc5511745c5 (diff)
assistant: Fix syncing to just created ssh remotes.
This got broken when I optimised reconnecting with remotes, to not do a full scan if the remote was not diverged.
Diffstat (limited to 'Assistant/Sync.hs')
-rw-r--r--Assistant/Sync.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Assistant/Sync.hs b/Assistant/Sync.hs
index ae2b5ea36..613d03980 100644
--- a/Assistant/Sync.hs
+++ b/Assistant/Sync.hs
@@ -174,4 +174,5 @@ syncNewRemote remote = do
updateSyncRemotes
thread <- asIO $ do
reconnectRemotes False [remote]
+ addScanRemotes True [remote]
void $ liftIO $ forkIO $ thread