git-http-backend.cgi.in 177 Bytes
Newer Older
1 2 3 4 5 6
#!/bin/sh

## This is a very dirty hack
export PATH_INFO="$${REDIRECT_URL:-$PATH_INFO}"

GIT_PROJECT_ROOT='${:base-directory}' GIT_HTTP_EXPORT_ALL= exec '${:githttpbackend}' $@