Made git-annex sync --content much faster when all the remotes it's syncing with are export/import remotes
It was unnecessarily going over all files and checking preferred content against no remotes.
This commit is contained in:
parent
48c2a95efb
commit
3d6f1b7dba
2 changed files with 3 additions and 0 deletions
|
@ -592,6 +592,7 @@ newer remote b = do
|
|||
- When concurrency is enabled, files are processed concurrently.
|
||||
-}
|
||||
seekSyncContent :: SyncOptions -> [Remote] -> CurrBranch -> Annex Bool
|
||||
seekSyncContent _ [] _ = return False
|
||||
seekSyncContent o rs currbranch = do
|
||||
mvar <- liftIO newEmptyMVar
|
||||
bloom <- case keyOptions o of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue