diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-09-09 16:15:39 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-09-09 16:15:39 -0400 |
commit | cf54d93481e965d626a9d31612756ee8b7d85b5a (patch) | |
tree | 202ba7a28a3376b22046ce25b90ae0a0673e534f /Annex | |
parent | c5ff422786d7a25a0b2d5680d9b85b5ff27ebd46 (diff) |
make --json-progress work for url downloads
Diffstat (limited to 'Annex')
-rw-r--r-- | Annex/Content.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Content.hs b/Annex/Content.hs index b975c8e90..cb96a0068 100644 --- a/Annex/Content.hs +++ b/Annex/Content.hs @@ -902,7 +902,7 @@ saveState nocommit = doSideAction $ do {- Downloads content from any of a list of urls. -} downloadUrl :: Key -> MeterUpdate -> [Url.URLString] -> FilePath -> Annex Bool -downloadUrl k p urls file = concurrentMeteredFile file (Just p) k $ +downloadUrl k p urls file = meteredFile file (Just p) k $ go =<< annexWebDownloadCommand <$> Annex.getGitConfig where go Nothing = do |