filter out special remotes when pulling

This commit is contained in:
Joey Hess 2012-07-22 15:09:40 -04:00
parent e4f714d1be
commit 26e4e65307

View file

@ -159,8 +159,9 @@ handleMount st dstatus mntent = do
rs <- remotesUnder st dstatus mntent
unless (null rs) $ do
branch <- runThreadState st $ Command.Sync.currentBranch
debug thisThread ["pulling from", show rs]
runThreadState st $ manualPull branch rs
let pullrs = filter Git.repoIsLocal rs
debug thisThread ["pulling from", show pullrs]
runThreadState st $ manualPull branch pullrs
-- TODO queue transfers for new files in both directions
where