summaryrefslogtreecommitdiff
path: root/Types/Remote.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-09-26 23:28:25 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-09-26 23:47:30 -0400
commit7923a3e63f3f9871b2f2fcdb1c808d91ed1f8d61 (patch)
tree9ef254a62ffbaf11ba4383b5f8accf8233d01c4a /Types/Remote.hs
parent46d92c0e423f6ae5b4456d1b3d4a91d124261d4b (diff)
enabling rsync.net gcrypt repos
Still need to detect when the user is trying to create a repo that already exists, and jump to the enabling code.
Diffstat (limited to 'Types/Remote.hs')
-rw-r--r--Types/Remote.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Types/Remote.hs b/Types/Remote.hs
index 78008ce06..918566e8d 100644
--- a/Types/Remote.hs
+++ b/Types/Remote.hs
@@ -18,6 +18,7 @@ import Types.UUID
import Types.GitConfig
import Config.Cost
import Utility.Metered
+import Git.Remote
type RemoteConfigKey = String
type RemoteConfig = M.Map RemoteConfigKey String
@@ -42,7 +43,7 @@ data RemoteA a = Remote {
-- each Remote has a unique uuid
uuid :: UUID,
-- each Remote has a human visible name
- name :: String,
+ name :: RemoteName,
-- Remotes have a use cost; higher is more expensive
cost :: Cost,
-- Transfers a key to the remote.