]> Cypherpunks repositories - gostls13.git/commit
cmd/go, go/build: ignore vendor directories with no Go source files
authorRuss Cox <rsc@golang.org>
Thu, 14 Jan 2016 02:34:13 +0000 (21:34 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 14 Jan 2016 03:43:57 +0000 (03:43 +0000)
commit8534429181ea99c86a5ccefee508f573ae6d4ba2
treedb14166c505011d2b30fcb277642e454272c02cb
parentb73d8fbedf3806993e6ae2c46776c1e86558541e
cmd/go, go/build: ignore vendor directories with no Go source files

Otherwise it is impossible to vendor a/b/c without hiding the real a/b.
I also updated golang.org/s/go15vendor.

Fixes #13832.

Change-Id: Iee3d53c11ea870721803f6e8e67845b405686e79
Reviewed-on: https://go-review.googlesource.com/18644
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/cmd/go/pkg.go
src/cmd/go/testdata/src/vend/dir1/dir1.go [new file with mode: 0644]
src/cmd/go/testdata/src/vend/vendor/vend/dir1/dir2/dir2.go [new file with mode: 0644]
src/cmd/go/testdata/src/vend/x/x.go
src/cmd/go/vendor_test.go
src/go/build/build.go
src/go/build/build_test.go