git-http-backend-verify: suppress git-http-backend errors
commit10db8f6d73cb9c83ad9e53c78c7569d06472c997
authorKyle J. McKay <mackyle@gmail.com>
Thu, 18 Jul 2013 17:51:32 +0000 (18 10:51 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 18 Jul 2013 17:51:32 +0000 (18 10:51 -0700)
tree278ba9dc242a11333784e0df289c14d14a60c7b4
parent040aeba762f6ca40741802f7739ca8d12a8cd35c
git-http-backend-verify: suppress git-http-backend errors

The git-http-backend routinely emits messages to standard error
about things that don't exist or requests that are not supported.

Unfortunately these errors end up cluttering up the server error
log and in almost all cases are uninteresting spam.

Discard these errors by default unless the environment variable
GIT_HTTP_BACKEND_SHOW_ERRORS is set to a non-empty value.

At the same time, make sure any "Internal Server Error" results
do end up in the server error log.
bin/git-http-backend-verify