diff options
Diffstat (limited to 'Assistant/Threads/MountWatcher.hs')
-rw-r--r-- | Assistant/Threads/MountWatcher.hs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Assistant/Threads/MountWatcher.hs b/Assistant/Threads/MountWatcher.hs index 8814f7a86..503f9b76c 100644 --- a/Assistant/Threads/MountWatcher.hs +++ b/Assistant/Threads/MountWatcher.hs @@ -159,11 +159,7 @@ handleMount :: FilePath -> Assistant () handleMount dir = do debug ["detected mount of", dir] rs <- filter (Git.repoIsLocal . Remote.repo) <$> remotesUnder dir - d <- getAssistant id - liftIO $ - reconnectRemotes (threadName d) (threadState d) - (daemonStatusHandle d) (scanRemoteMap d) - (Just $ pushNotifier d) rs + reconnectRemotes True rs {- Finds remotes located underneath the mount point. - |