git-http-backend.cgi.in 194 Bytes
Newer Older
1 2
#!/usr/bin/env sh

Antoine Catton's avatar
Antoine Catton committed
3 4 5 6
## This is a very dirty hack
export PATH_INFO="$${REDIRECT_URL:-$PATH_INFO}"

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