summaryrefslogtreecommitdiff
path: root/Annex
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-01-28 00:33:19 +1100
committerGravatar Joey Hess <joey@kitenet.net>2013-01-28 00:33:19 +1100
commit7964491f1b5f7a4e2000fd362dea00068f843454 (patch)
treeeb760f55823d5f545acd3b793aef75e28f00753d /Annex
parent38dcc9c2cc8302a127e59e3d7d1d07e2d93064f4 (diff)
add another setting to GitConfig
Diffstat (limited to 'Annex')
-rw-r--r--Annex/Content.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Content.hs b/Annex/Content.hs
index ed234511e..feb1d25e6 100644
--- a/Annex/Content.hs
+++ b/Annex/Content.hs
@@ -412,7 +412,7 @@ saveState nocommit = doSideAction $ do
{- Downloads content from any of a list of urls. -}
downloadUrl :: [Url.URLString] -> FilePath -> Annex Bool
downloadUrl urls file = do
- o <- map Param . words <$> getConfig (annexConfig "web-options") ""
+ o <- map Param . annexWebOptions <$> Annex.getGitConfig
headers <- getHttpHeaders
liftIO $ anyM (\u -> Url.download u headers o file) urls