diff options
author | Joey Hess <joey@kitenet.net> | 2013-03-17 15:59:03 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-03-17 15:59:03 -0400 |
commit | 53a0823e7a9c2f0485d052f99f30ebbbf744ed3c (patch) | |
tree | 1e2e99878b59f939b771a8483e8daa840fe28ff9 /Assistant/Threads/NetWatcher.hs | |
parent | 363c117ab4eafdd9ea78351079ca0b642f486c68 (diff) |
assistant: Avoid syncing with annex-ignored remotes when reconnecting to the network, or connecting a drive.
Diffstat (limited to 'Assistant/Threads/NetWatcher.hs')
-rw-r--r-- | Assistant/Threads/NetWatcher.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Threads/NetWatcher.hs b/Assistant/Threads/NetWatcher.hs index 6ac7203b0..6d15d414e 100644 --- a/Assistant/Threads/NetWatcher.hs +++ b/Assistant/Threads/NetWatcher.hs @@ -128,4 +128,4 @@ handleConnection = reconnectRemotes True =<< networkRemotes {- Finds network remotes. -} networkRemotes :: Assistant [Remote] networkRemotes = liftAnnex $ - filter (isNothing . Remote.localpath) <$> remoteList + filter (isNothing . Remote.localpath) <$> enabledRemoteList |