]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.20] cmd/go/internal/modfetch/codehost: set core.longpaths in...
authorBryan C. Mills <bcmills@google.com>
Thu, 6 Apr 2023 18:40:51 +0000 (18:40 +0000)
committerHeschi Kreinick <heschi@google.com>
Tue, 7 Nov 2023 20:45:57 +0000 (20:45 +0000)
commite1dc209be86b10ce0d61619afb01d995dfded440
treea2b27f0e8a51b18130e85d1d5a7416de912a3b32
parent1d0d4b149ce71083ec474d0491851ab2d2dc695e
[release-branch.go1.20] cmd/go/internal/modfetch/codehost: set core.longpaths in Git repos on Windows

This setting appears to be needed to avoid “Filename too long” errors
when downloading modules from repos with long branch names,
particularly if the path to the module cache is already fairly long
(as may be the case in CI systems and in tests of cmd/go itself).

Fixes #63988.

Change-Id: I3aa89ea872b29eb0460c8a8afc94f182a68982fd
Reviewed-on: https://go-review.googlesource.com/c/go/+/482819
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
(cherry picked from commit 0c89487b1d9bac744091a5ff2a09541c71b66b85)
Reviewed-on: https://go-review.googlesource.com/c/go/+/539278
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/internal/modfetch/codehost/git.go