aboutsummaryrefslogtreecommitdiff
path: root/Remote/List.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-09-09 09:58:17 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-09-09 10:02:15 -0400
commit6d3c84755bc79f04724a0f88975d7e9400395f10 (patch)
treee7cd10c5a1040a8044aa65b29891416c7a59733d /Remote/List.hs
parent62dc499541761d43f9938b34561bc93bb3f67e4e (diff)
sync: support gcrypt4.20130909
Diffstat (limited to 'Remote/List.hs')
-rw-r--r--Remote/List.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/Remote/List.hs b/Remote/List.hs
index c106e9ad9..f38c1daaa 100644
--- a/Remote/List.hs
+++ b/Remote/List.hs
@@ -100,6 +100,7 @@ updateRemote remote = do
Remote.Git.configRead r
| otherwise = return r
-{- Checks if a remote is a special remote -}
-specialRemote :: Remote -> Bool
-specialRemote r = remotetype r /= Remote.Git.remote
+{- Checks if a remote is syncable using git. -}
+syncableRemote :: Remote -> Bool
+syncableRemote r = remotetype r `elem`
+ [ Remote.Git.remote, Remote.GCrypt.remote ]