go/src/cmd
Yasuhiro Matsumoto 1b68e07a24 [release-branch.go1.15] cmd/go: use path.Dir instead of filepath.Dir for package paths in 'go mod vendor'
copyMetadata walk-up to parent directory until the pkg become modPath.
But pkg should be slash-separated paths. It have to use path.Dir instead of
filepath.Dir.

Updates #46867
Fixes #47014

Change-Id: I44cf1429fe52379a7415b94cc30ae3275cc430e8
Reviewed-on: https://go-review.googlesource.com/c/go/+/330149
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Trust: Bryan C. Mills <bcmills@google.com>
Trust: Alexander Rakoczy <alex@golang.org>
Trust: Carlos Amedee <carlos@golang.org>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
(cherry picked from commit 835d86a17e)
Reviewed-on: https://go-review.googlesource.com/c/go/+/332330
Reviewed-by: Jay Conrod <jayconrod@google.com>
Run-TryBot: Carlos Amedee <carlos@golang.org>
2021-08-03 15:00:55 +00:00
..
addr2line [release-branch.go1.15] cmd/addr2line: don't assume that GOROOT_FINAL is clean 2020-10-06 23:09:29 +00:00
api [release-branch.go1.15-security] all: introduce and use internal/execabs 2021-01-16 00:29:16 +00:00
asm cmd/asm: fix the encoding error of VCNT instruction for arm64 2020-06-09 15:58:36 +00:00
buildid
cgo [release-branch.go1.15] cmd/cgo: remove unnecessary space in cgo export header 2021-03-31 21:40:01 +00:00
compile [release-branch.go1.15] cmd/compile: mark R16, R17 clobbered for non-standard calls on ARM64 2021-08-02 22:28:48 +00:00
cover [release-branch.go1.15-security] all: introduce and use internal/execabs 2021-01-16 00:29:16 +00:00
dist [release-branch.go1.15-security] all: introduce and use internal/execabs 2021-01-16 00:29:16 +00:00
doc [release-branch.go1.15-security] all: introduce and use internal/execabs 2021-01-16 00:29:16 +00:00
fix [release-branch.go1.15-security] all: introduce and use internal/execabs 2021-01-16 00:29:16 +00:00
go [release-branch.go1.15] cmd/go: use path.Dir instead of filepath.Dir for package paths in 'go mod vendor' 2021-08-03 15:00:55 +00:00
gofmt go/printer: remove exported StdFormat flag 2020-07-17 02:15:01 +00:00
internal [release-branch.go1.15] cmd/internal/goobj2: fix buglet in object file reader 2021-02-02 22:36:08 +00:00
link [release-branch.go1.15] cmd/link: fix handling of dupok mapzero syms 2021-06-29 17:38:19 +00:00
nm Revert "cmd/internal/goobj: add index to symbol name for indexed symbols" 2020-06-03 19:20:41 +00:00
objdump cmd/dist: do not unset GOROOT_FINAL prior to running tests 2020-06-09 02:49:06 +00:00
oldlink cmd/oldlink: port bug fixes to old linker 2020-07-06 20:17:51 +00:00
pack
pprof
test2json [release-branch.go1.15-security] all: introduce and use internal/execabs 2021-01-16 00:29:16 +00:00
trace [release-branch.go1.15-security] all: introduce and use internal/execabs 2021-01-16 00:29:16 +00:00
vendor cmd: update golang.org/x/xerrors 2020-08-06 19:17:13 +00:00
vet
README.vendor
go.mod cmd: update golang.org/x/xerrors 2020-08-06 19:17:13 +00:00
go.sum cmd: update golang.org/x/xerrors 2020-08-06 19:17:13 +00:00

README.vendor

See src/README.vendor for information on loading vendored packages
and updating the vendor directory.