diff --git a/CHANGELOG b/CHANGELOG index 97ff444619..a0bacb8d22 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,6 +7,8 @@ git-annex (7.20190323) UNRELEASED; urgency=medium * Fix bug that caused importing from a special remote to repeatedly download unchanged files when multiple files in the remote have the same content. + * Made git-annex sync --content much faster when all the remotes it's + syncing with are export/import remotes. -- Joey Hess Tue, 09 Apr 2019 14:07:53 -0400 diff --git a/Command/Sync.hs b/Command/Sync.hs index 49661550bb..99410629f4 100644 --- a/Command/Sync.hs +++ b/Command/Sync.hs @@ -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