From: Eric Wong Date: Wed, 8 Sep 2021 16:42:29 +0000 (-0200) Subject: git_http_backend: forward HTTP_GIT_PROTOCOL in request headers X-Git-Tag: v1.7.0~348 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=c497e38cf3af486f08f03d7e8cb6ce51ba91ca83;p=public-inbox.git git_http_backend: forward HTTP_GIT_PROTOCOL in request headers It looks like git-http-backend(1) will support HTTP_GIT_PROTOCOL, soon, and we won't have to add GIT_PROTOCOL support to support newer versions of the git protocol, either. Link: https://public-inbox.org/git/YTiXEEEs36NCEr9S@coredump.intra.peff.net/ --- diff --git a/lib/PublicInbox/GitHTTPBackend.pm b/lib/PublicInbox/GitHTTPBackend.pm index c179ffef..b9a3e4f5 100644 --- a/lib/PublicInbox/GitHTTPBackend.pm +++ b/lib/PublicInbox/GitHTTPBackend.pm @@ -98,6 +98,7 @@ sub serve_smart { foreach my $name (qw(QUERY_STRING REMOTE_USER REMOTE_ADDR HTTP_CONTENT_ENCODING + HTTP_GIT_PROTOCOL CONTENT_TYPE SERVER_PROTOCOL REQUEST_METHOD)) {