GETCONFIG name fix

Fix regression that prevented external special remotes from using GETCONFIG
to query values like "name". (Introduced in version 7.20200202.7.)
This commit is contained in:
Joey Hess 2020-03-09 12:38:04 -04:00
parent d9bd645bf8
commit 6a91471923
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 8 additions and 4 deletions

View file

@ -23,8 +23,9 @@ type RemoteConfig = M.Map RemoteConfigField (ProposedAccepted String)
{- Before being used a RemoteConfig has to be parsed. -}
data ParsedRemoteConfig = ParsedRemoteConfig
(M.Map RemoteConfigField RemoteConfigValue)
RemoteConfig
{ parsedRemoteConfigMap :: M.Map RemoteConfigField RemoteConfigValue
, unparsedRemoteConfig :: RemoteConfig
}
{- Remotes can have configuration values of many types, so use Typeable
- to let them all be stored in here. -}