sync: support gcrypt
This commit is contained in:
parent
51ee077d58
commit
b64f5baf2d
7 changed files with 23 additions and 14 deletions
|
@ -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 ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue