]> dgit.raspbian.org Git - git-annex.git/commitdiff
remove attempt to avoid git syncing with instantiate proxied remotes
authorJoey Hess <joeyh@joeyh.name>
Mon, 24 Jun 2024 13:35:24 +0000 (09:35 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 24 Jun 2024 13:35:24 +0000 (09:35 -0400)
It didn't work. Actually, sync was skipping those remotes due to a bug.

Command/Sync.hs

index ff76307ab5ee5a3b889f6b56ca09dd8b60571b0b..a0f9bc814760bf558f693e58c6cd8588f632a494 100644 (file)
@@ -268,8 +268,7 @@ seek' o = startConcurrency transferStages $ do
        remotes <- syncRemotes (syncWith o)
        warnSyncContentTransition o remotes
        -- Remotes that git can push to and pull from.
-       let gitremotes = nubBy sameGitRepo $ 
-               filter Remote.gitSyncableRemote remotes
+       let gitremotes = filter Remote.gitSyncableRemote remotes
        -- Remotes that contain annex object content.
        contentremotes <- filter (\r -> Remote.uuid r /= NoUUID)
                <$> filterM (not <$$> liftIO . getDynamicConfig . remoteAnnexIgnore . Remote.gitconfig) remotes