plumb RemoteGitConfig through to setRemoteCredPair
This commit is contained in:
parent
91df4c6b53
commit
22c174158c
5 changed files with 11 additions and 14 deletions
|
@ -241,7 +241,8 @@ handleRequest' lck external req mp responsehandler
|
|||
send $ VALUE value
|
||||
handleRemoteRequest (SETCREDS setting login password) = do
|
||||
c <- liftIO $ atomically $ readTMVar $ externalConfig external
|
||||
c' <- setRemoteCredPair encryptionAlreadySetup c (credstorage setting) $
|
||||
gc <- liftIO $ atomically $ readTMVar $ externalGitConfig external
|
||||
c' <- setRemoteCredPair encryptionAlreadySetup c gc (credstorage setting) $
|
||||
Just (login, password)
|
||||
void $ liftIO $ atomically $ swapTMVar (externalConfig external) c'
|
||||
handleRemoteRequest (GETCREDS setting) = do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue