cmd/go: mod download uses global gitconfig, should check project's gitconfig first #31802
Labels
FrozenDueToAge
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?
When using "git config url."[email protected]:".insteadOf https://bitbucket.org/" within project folder, it would be expected that when getting private package within bitbucket SVN, the project's git configuration should be used instead of global git configuration.
Currently this does not work as GLOBAL git configuration file is used.
What did you expect to see?
It would be great if the existence of project's gitconfig is checked first and used in that case. Otherwise fall back to global configuration.
What did you see instead?
Opposite behavior.
The text was updated successfully, but these errors were encountered: