summaryrefslogtreecommitdiff
path: root/Assistant/Threads/MountWatcher.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-08-22 15:37:26 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-08-22 15:37:26 -0400
commit546ba8b7e1cf6b99f38aa0619397463422837ce0 (patch)
tree37ec7ad46a5563b05de3c6bcdf91415486eafe4e /Assistant/Threads/MountWatcher.hs
parent5c3e14649ee7c404f86a1b82b648d896762cbbc2 (diff)
better name
Diffstat (limited to 'Assistant/Threads/MountWatcher.hs')
-rw-r--r--Assistant/Threads/MountWatcher.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Threads/MountWatcher.hs b/Assistant/Threads/MountWatcher.hs
index 3de594093..56b2b7c70 100644
--- a/Assistant/Threads/MountWatcher.hs
+++ b/Assistant/Threads/MountWatcher.hs
@@ -142,7 +142,7 @@ handleMounts st dstatus scanremotes wasmounted nowmounted =
handleMount :: ThreadState -> DaemonStatusHandle -> ScanRemoteMap -> FilePath -> IO ()
handleMount st dstatus scanremotes dir = do
debug thisThread ["detected mount of", dir]
- syncRemotes thisThread st dstatus scanremotes
+ reconnectRemotes thisThread st dstatus scanremotes
=<< filter (Git.repoIsLocal . Remote.repo)
<$> remotesUnder st dstatus dir