diff options
Diffstat (limited to 'container/git-http-backend.cgi')
| -rw-r--r-- | container/git-http-backend.cgi | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/container/git-http-backend.cgi b/container/git-http-backend.cgi deleted file mode 100644 index c69758b..0000000 --- a/container/git-http-backend.cgi +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# A .cgi-named door onto the stock backend, because mod_cgi dispatches by -# extension. No policy in here: writes are decided by the pre-receive hook. -# -# It must stay a plain exec. REMOTE_USER is the identity the hooks authorise -# from, and rewriting the environment here denies every push. -set -eu - -BACKEND="${GIT_HOST_HTTP_BACKEND:-/usr/libexec/git-core/git-http-backend}" -[ -x "$BACKEND" ] || { printf 'Status: 500 Internal Server Error\r\n\r\n' >&2; exit 1; } - -exec "$BACKEND" |
