From 8d90c4160e06309bef061cbd491bb1088296ebad Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 23 May 2016 17:48:15 -0400 Subject: plumb RemoteGitConfig through to encryptCipher --- Remote/Helper/Encryptable.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Remote') diff --git a/Remote/Helper/Encryptable.hs b/Remote/Helper/Encryptable.hs index b19d7dcd9..05c3e38a5 100644 --- a/Remote/Helper/Encryptable.hs +++ b/Remote/Helper/Encryptable.hs @@ -63,8 +63,8 @@ encryptionSetup c gc = do -- hybrid encryption is the default when a keyid is -- specified but no encryption _ | maybe (M.member "keyid" c) (== "hybrid") encryption -> - encsetup $ genEncryptedCipher cmd key Hybrid - Just "pubkey" -> encsetup $ genEncryptedCipher cmd key PubKey + encsetup $ genEncryptedCipher cmd (c, gc) key Hybrid + Just "pubkey" -> encsetup $ genEncryptedCipher cmd (c, gc) key PubKey Just "sharedpubkey" -> encsetup $ genSharedPubKeyCipher cmd key _ -> error $ "Specify " ++ intercalate " or " (map ("encryption=" ++) -- cgit v1.2.3