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.
This commit is contained in:
Joey Hess 2012-12-06 17:15:45 -04:00
parent 551924e6be
commit 501ec95a27
2 changed files with 2 additions and 0 deletions

View file

@ -174,4 +174,5 @@ syncNewRemote remote = do
updateSyncRemotes
thread <- asIO $ do
reconnectRemotes False [remote]
addScanRemotes True [remote]
void $ liftIO $ forkIO $ thread

1
debian/changelog vendored
View file

@ -28,6 +28,7 @@ git-annex (3.20121128) UNRELEASED; urgency=low
settings.
* webapp: Allow user to specify the port when setting up a ssh or rsync
remote.
* assistant: Fix syncing to just created ssh remotes.
-- Joey Hess <joeyh@debian.org> Wed, 28 Nov 2012 13:31:07 -0400