diff options
-rw-r--r-- | Remote/Helper/Url.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Remote/Helper/Url.hs b/Remote/Helper/Url.hs index d3aea5622..af1fee8f0 100644 --- a/Remote/Helper/Url.hs +++ b/Remote/Helper/Url.hs @@ -39,6 +39,10 @@ exists url = download :: URLString -> FilePath -> Annex Bool download url file = do showOutput -- make way for curl progress bar + -- Uses the -# progress display, because the normal one is very + -- confusing when resuming, showing the remainder to download + -- as the whole file, and not indicating how much percent was + -- downloaded before the resume. liftIO $ boolSystem "curl" [Params "-L -C - -# -o", File file, File url] {- Downloads a small file. -} |