diff options
author | Joey Hess <joey@kitenet.net> | 2013-09-26 23:28:25 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-09-26 23:47:30 -0400 |
commit | 7923a3e63f3f9871b2f2fcdb1c808d91ed1f8d61 (patch) | |
tree | 9ef254a62ffbaf11ba4383b5f8accf8233d01c4a /Types | |
parent | 46d92c0e423f6ae5b4456d1b3d4a91d124261d4b (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')
-rw-r--r-- | Types/Remote.hs | 3 |
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. |