filter out special remotes when pulling
This commit is contained in:
parent
e4f714d1be
commit
26e4e65307
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue