move comment

This commit is contained in:
Joey Hess 2023-08-16 13:19:17 -04:00
parent 5126f6d002
commit 7f7c95b771
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -370,10 +370,10 @@ origBranch = fromViewBranch . fromAdjustedBranch
remoteBranch :: Remote -> Git.Ref -> Git.Ref
remoteBranch remote = Git.Ref.underBase $ "refs/remotes/" ++ Remote.name remote
-- Do automatic initialization of remotes when possible when getting remote
-- list.
syncRemotes :: [String] -> Annex [Remote]
syncRemotes ps = do
-- Do automatic initialization of remotes when possible
-- when getting remote list.
remotelist <- Remote.remoteList' True
available <- filterM (liftIO . getDynamicConfig . remoteAnnexSync . Remote.gitconfig) remotelist
syncRemotes' ps available