git-annex/Utility
Joey Hess 7a0d6d81a0
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.
2017-02-20 16:09:32 -04:00
..
DirWatcher Avoid backtraces on expected failures when built with ghc 8; only use backtraces for unexpected errors. 2016-11-15 21:29:54 -04:00
LockFile correct spelling mistakes 2017-02-12 17:30:23 -04:00
LockPool
Process
Scheduled
Touch
Applicative.hs
AuthToken.hs unified AuthToken type between webapp and tor 2016-11-22 14:18:34 -04:00
Base64.hs
Batch.hs
Bloom.hs
CoProcess.hs Always use filesystem encoding for all file and handle reads and writes. 2016-12-24 14:46:31 -04:00
CopyFile.hs hard links on windows 2016-04-08 15:25:32 -04:00
Daemon.hs Avoid backtraces on expected failures when built with ghc 8; only use backtraces for unexpected errors. 2016-11-15 21:29:54 -04:00
Data.hs
DataUnits.hs
DBus.hs
Directory.hs split out module to work around badly named symbol in directory-1.2.6.2 2016-05-22 15:51:31 -04:00
DirWatcher.hs
DiskFree.hs
Dot.hs
DottedVersion.hs Some optimisations to string splitting code. 2017-01-31 19:06:22 -04:00
Env.hs
Exception.hs allow Utility.Exception to still be used when not building with cabal 2016-11-15 22:01:55 -04:00
ExternalSHA.hs Always use filesystem encoding for all file and handle reads and writes. 2016-12-24 14:46:31 -04:00
FileMode.hs Work around sqlite's incorrect handling of umask when creating databases. 2017-02-13 17:39:16 -04:00
FileSize.hs
FileSystemEncoding.hs work around ghc segfault 2016-12-30 18:14:19 -04:00
Format.hs
FreeDesktop.hs use System.Directory not Utility.Directory 2016-09-22 11:34:55 -04:00
Glob.hs Avoid backtraces on expected failures when built with ghc 8; only use backtraces for unexpected errors. 2016-11-15 21:29:54 -04:00
Gpg.hs Some optimisations to string splitting code. 2017-01-31 19:06:22 -04:00
Hash.hs
HumanNumber.hs
HumanTime.hs
InodeCache.hs
libkqueue.c
libkqueue.h
LinuxMkLibs.hs avoid warnings about not exported System.Directory.isSymbolicLink 2016-04-28 15:18:11 -04:00
LockFile.hs
LockPool.hs
LogFile.hs
Lsof.hs Some optimisations to string splitting code. 2017-01-31 19:06:22 -04:00
MagicWormhole.hs wormhole pairing appid flag day 2021-12-31 2017-02-03 15:06:40 -04:00
Matcher.hs
Metered.hs force sofar calculation 2016-12-08 16:28:07 -04:00
Misc.hs Some optimisations to string splitting code. 2017-01-31 19:06:22 -04:00
Monad.hs
Mounts.hs
Network.hs
NotificationBroadcaster.hs
OptParse.hs
OSX.hs
Parallel.hs
PartialPrelude.hs correct spelling mistakes 2017-02-12 17:30:23 -04:00
Path.hs avoid warnings about not exported System.Directory.isSymbolicLink 2016-04-28 15:18:11 -04:00
Percentage.hs
PID.hs
PosixFiles.hs hard links on windows 2016-04-08 15:25:32 -04:00
Process.hs simpler more generic processTranscript' 2017-02-15 16:02:10 -04:00
QuickCheck.hs fix build warning with new version of QuickCheck 2016-06-13 16:00:23 -04:00
Quvi.hs Some optimisations to string splitting code. 2017-01-31 19:06:22 -04:00
Rsync.hs Some optimisations to string splitting code. 2017-01-31 19:06:22 -04:00
SafeCommand.hs Some optimisations to string splitting code. 2017-01-31 19:06:22 -04:00
Scheduled.hs
Shell.hs fix windows build 2016-12-30 11:37:06 -04:00
SimpleProtocol.hs git-annex-shell, remotedaemon, git remote: Fix some memory DOS attacks. 2016-12-09 13:34:32 -04:00
SRV.hs
SshConfig.hs
Su.hs more windows build fix 2016-12-30 16:39:51 -04:00
SystemDirectory.hs Fix build with directory-1.3. 2016-12-20 15:23:59 -04:00
Tense.hs
ThreadLock.hs
ThreadScheduler.hs
TList.hs
Tmp.hs avoid warnings about not exported System.Directory.isSymbolicLink 2016-04-28 15:18:11 -04:00
Tor.hs Support all common locations of the torrc file. 2016-12-28 15:12:31 -04:00
Touch.hs
Url.hs make curl show http errors to stderr 2017-02-20 16:09:32 -04:00
UserInfo.hs Avoid backtraces on expected failures when built with ghc 8; only use backtraces for unexpected errors. 2016-11-15 21:29:54 -04:00
Verifiable.hs
WebApp.hs cleanup 2016-12-24 15:14:46 -04:00
WinProcess.hs
Yesod.hs