From 8655ea7f8e853b7de4defbca2655b741362ecd21 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 22 Apr 2013 14:57:09 -0400 Subject: sync, assistant: Sync with remotes that have annex-ignore set This is so git remotes on servers without git-annex installed can be used to keep clients' git repos in sync. This is a behavior change, but since annex-sync can be set to disable syncing with a remote, I think it's acceptable. --- Command/Sync.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command/Sync.hs') diff --git a/Command/Sync.hs b/Command/Sync.hs index a25f6a602..0a8ed7827 100644 --- a/Command/Sync.hs +++ b/Command/Sync.hs @@ -73,7 +73,7 @@ syncRemotes rs = ifM (Annex.getState Annex.fast) ( nub <$> pickfast , wanted ) return l available = filter (not . Remote.specialRemote) . filter (remoteAnnexSync . Types.Remote.gitconfig) - <$> Remote.enabledRemoteList + <$> Remote.remoteList good = filterM $ Remote.Git.repoAvail . Types.Remote.repo fastest = fromMaybe [] . headMaybe . Remote.byCost -- cgit v1.2.3