aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-02-20 15:59:55 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-02-20 16:09:32 -0400
commitd6fc0ab29009018b8639a911b876678721506f6c (patch)
treeaf05a6956b7de5a7add81b4d5ddc9df4e3cde971 /CHANGELOG
parent5099cc747ac8c6b2d9a873c4a7051c60b8541c41 (diff)
make curl show http errors to stderr
* Run curl with -S, so HTTP errors are displayed, even when it's otherwise silent. * When downloading in --json or --quiet mode, use curl in preference to wget, since curl is able to display only errors to stderr, unlike wget. This does mean that downloadQuiet is only silent on stdout, not necessarily on stderr, which affects a couple other calls of it. For example, downloading the .git/config of a http remote may show an error message now, perhaps with slightly suboptimal formatting due to other output.
Diffstat (limited to 'CHANGELOG')
-rw-r--r--CHANGELOG5
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 4e150f340..3b631092e 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -27,6 +27,11 @@ git-annex (6.20170215) UNRELEASED; urgency=medium
* adjust: Fix behavior when used in a repository that contains
submodules.
* Run wget with -nv instead of -q, so it will display HTTP errors.
+ * Run curl with -S, so HTTP errors are displayed, even when
+ it's otherwise silent.
+ * When downloading in --json or --quiet mode, use curl in preference
+ to wget, since curl is able to display only errors to stderr, unlike
+ wget.
-- Joey Hess <id@joeyh.name> Tue, 14 Feb 2017 15:54:25 -0400