aboutsummaryrefslogtreecommitdiff
path: root/Annex
diff options
context:
space:
mode:
Diffstat (limited to 'Annex')
-rw-r--r--Annex/Content.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Annex/Content.hs b/Annex/Content.hs
index 1794fb5d9..e0cfa7227 100644
--- a/Annex/Content.hs
+++ b/Annex/Content.hs
@@ -313,8 +313,7 @@ saveState oneshot = do
{- Downloads content from any of a list of urls. -}
downloadUrl :: [Url.URLString] -> FilePath -> Annex Bool
downloadUrl urls file = do
- g <- gitRepo
- o <- map Param . words <$> getConfig g "web-options" ""
+ o <- map Param . words <$> getConfig "annex.web-options" ""
liftIO $ anyM (\u -> Url.download u o file) urls
{- Copies a key's content, when present, to a temp file.