aboutsummaryrefslogtreecommitdiff
path: root/Remote/Hook.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-11-02 16:37:28 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-11-02 16:37:28 -0400
commitaaf881e8bb22408f671e566ebcd3f59be958a26f (patch)
treeb8d8a53dfdfb7a94f109f4f84355f17d936cc122 /Remote/Hook.hs
parent876cf160a323e26878e518d0496a6a15a30513ee (diff)
gcrypt, bup: Fix bug that prevented using these special remotes with encryption=pubkey.
I think both of these are all that's affected, but I went ahead and fixed all the remotes that set their config to M.empty to instead store the actual config. Who knows what will expect it to be actually present in future, the Remote instance of getGpgEncParams came to..
Diffstat (limited to 'Remote/Hook.hs')
-rw-r--r--Remote/Hook.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/Hook.hs b/Remote/Hook.hs
index fdb24d0cb..55ff78514 100644
--- a/Remote/Hook.hs
+++ b/Remote/Hook.hs
@@ -54,7 +54,7 @@ gen r u c gc = do
whereisKey = Nothing,
remoteFsck = Nothing,
repairRepo = Nothing,
- config = M.empty,
+ config = c,
localpath = Nothing,
repo = r,
gitconfig = gc,