]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/vcweb: set GIT_PROTOCOL in the git CGI handler
authorBryan C. Mills <bcmills@google.com>
Fri, 5 May 2023 13:13:15 +0000 (09:13 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 14 Dec 2023 19:46:23 +0000 (19:46 +0000)
commit6aa482681ca72aa3b18d4491e6db1694ef1be6bc
treed0b78d9cd30f1a684c33704adf4e00f55c2d5465
parent23fee06a140ea6e5ac184e255786900479ca52ca
cmd/go/internal/vcweb: set GIT_PROTOCOL in the git CGI handler

This works around a bug in 'git http-backend' that was fixed in
Git 2.34.0,¹ and will hopefully allow the tests in
cmd/go/internal/modfetch/codehost to pass reliably using older
Git releases (I tested with 2.30.2).

¹https://github.com/git/git/commit/ff6a37c99e3343633c53f56789afcc8f8165d276

Fixes #56881.

Change-Id: Icd2e4d252d5f712685d146f34e11922dd0c41ff0
Reviewed-on: https://go-review.googlesource.com/c/go/+/549795
Reviewed-by: Michael Matloob <matloob@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
src/cmd/go/internal/modfetch/codehost/git_test.go
src/cmd/go/internal/vcweb/git.go