From c497e38cf3af486f08f03d7e8cb6ce51ba91ca83 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 8 Sep 2021 14:42:29 -0200 Subject: 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/ --- lib/PublicInbox/GitHTTPBackend.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/PublicInbox') 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)) { -- cgit v1.2.3-24-ge0c7