summaryrefslogtreecommitdiff
path: root/Annex/SpecialRemote.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-09-07 15:53:34 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-09-07 15:53:34 -0400
commita39d0a51b48a02afd7a9cd50725b753d96e9e145 (patch)
tree33909c5a6920d1ac0ab7aa22452a7d15e3338f9f /Annex/SpecialRemote.hs
parentd928368d8a698abcaa06b4ee17764f5514521ffc (diff)
parent6b62556049481d8ed9b75a1642f3422a79c55133 (diff)
Merge branch 'export'
Diffstat (limited to 'Annex/SpecialRemote.hs')
-rw-r--r--Annex/SpecialRemote.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/SpecialRemote.hs b/Annex/SpecialRemote.hs
index f53a2ca63..c215208db 100644
--- a/Annex/SpecialRemote.hs
+++ b/Annex/SpecialRemote.hs
@@ -81,7 +81,7 @@ autoEnable = do
(Just name, Right t) -> whenM (canenable u) $ do
showSideAction $ "Auto enabling special remote " ++ name
dummycfg <- liftIO dummyRemoteGitConfig
- res <- tryNonAsync $ setup t Enable (Just u) Nothing c dummycfg
+ res <- tryNonAsync $ setup t (Enable c) (Just u) Nothing c dummycfg
case res of
Left e -> warning (show e)
Right _ -> return ()