summaryrefslogtreecommitdiff
path: root/RemoteDaemon
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 /RemoteDaemon
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 'RemoteDaemon')
0 files changed, 0 insertions, 0 deletions