cmd/go/internal/load: better error message for "error obtaining VCS status" #64275
Labels
FrozenDueToAge
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
A clear error message, by relaying git's error message (
fatal: detected dubious ownership...
, probably by letting it inherit stderr stream fd=2) to user for better visibility.Or at least it should say it's git failing, preferably print the command line used to invoke git, so users can reproduce it themselves.
What did you see instead?
The text was updated successfully, but these errors were encountered: