diff options
| author | Bryan C. Mills <bcmills@google.com> | 2019-04-02 14:58:31 -0400 |
|---|---|---|
| committer | Bryan C. Mills <bcmills@google.com> | 2019-04-19 15:36:02 +0000 |
| commit | 7f1612652b24fbb7f5a361735f656784f2d48cb1 (patch) | |
| tree | 9418543443fb09aa294416dc96736a284141b9ae /src/runtime | |
| parent | bdd7bb5526d5ba6a3471ce03ae953bb6d793b501 (diff) | |
| download | go-7f1612652b24fbb7f5a361735f656784f2d48cb1.tar.xz | |
cmd/go/internal/modcmd: skip files with the "ignore" constraint in 'go mod vendor'
'go mod vendor' already drops test files and testdata directories, so
users should not expect the vendored module to include unnecessary
files in general.
Files tagged "ignore" are typically only used to refresh or regenerate
source files within the module to be vendored, so users of that module
do not need them.
Fixes #31088
Change-Id: I1ce9545e9b37c8e779a1826a9d494ac29d2cbfb8
Reviewed-on: https://go-review.googlesource.com/c/go/+/172978
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
