summaryrefslogtreecommitdiff
path: root/Remote/Ddar.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Remote/Ddar.hs')
-rw-r--r--Remote/Ddar.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Remote/Ddar.hs b/Remote/Ddar.hs
index 3d0ad53b2..fded8d420 100644
--- a/Remote/Ddar.hs
+++ b/Remote/Ddar.hs
@@ -83,13 +83,13 @@ gen r u c gc = do
}
ddarSetup :: Maybe UUID -> Maybe CredPair -> RemoteConfig -> RemoteGitConfig -> Annex (RemoteConfig, UUID)
-ddarSetup mu _ c _ = do
+ddarSetup mu _ c gc = do
u <- maybe (liftIO genUUID) return mu
-- verify configuration is sane
let ddarrepo = fromMaybe (error "Specify ddarrepo=") $
M.lookup "ddarrepo" c
- (c', _encsetup) <- encryptionSetup c
+ (c', _encsetup) <- encryptionSetup c gc
-- The ddarrepo is stored in git config, as well as this repo's
-- persistant state, so it can vary between hosts.