Pass annex.web-options to wget and curl after other options, so that eg --no-show-progress can be set by the user to disable the default --show-progress.

This commit is contained in:
Joey Hess 2016-12-13 11:56:23 -04:00
parent b0735d098d
commit 59fead6da3
No known key found for this signature in database
GPG key ID: C910D9222512E3C7
4 changed files with 24 additions and 1 deletions

View file

@ -22,3 +22,4 @@ parallel git annex importfeed --relaxed --quiet ::: http://feeds.feedburner.com/
I love git annex and use it daily.
> [[done]] --[[Joey]]

View file

@ -0,0 +1,19 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2016-12-13T15:49:20Z"
content="""
Since 2014, git-annex has used wget -q --show-progress to get a
progress bar without the several other lines of output it would normally
display. Whether a given git-annex build does this depends on what
version of wget it saw at configure time.
Running git-annex with --quiet will disable the wget progress bar (and
other git-annex output). This seems like the thing to do if you're running
git-annex concurrently. (Of course, git-annex also has its own built-in
concurrency with -J which can display multiple download progress bars in a
nice way.)
Still, might as well make the web-options come after the default options so
they can be overridden. Doing so.
"""]]