unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH] git_http_backend: forward HTTP_GIT_PROTOCOL in request headers
@ 2021-09-08 16:42 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2021-09-08 16:42 UTC (permalink / raw)
  To: meta

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(+)

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)) {

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-08 16:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-08 16:42 [PATCH] git_http_backend: forward HTTP_GIT_PROTOCOL in request headers Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).