-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Commit 5764653
author
committedBryan C. Mills
cmd/api: omit outside dependencies when listing the packages in "std"
As of CL 251159, when 'go list -deps std' is run within GOROOT/src, it
treats the vendored external dependencies as real module dependencies,
not standard-library "vendor/" packages (which still exist in that
case, but are treated as distinct packages outside the "std" module).
Fixes #41358
Updates #30241
Change-Id: Ic23eae9829d90e74a340d49ca9052e9191597410
Reviewed-on: https://go-review.googlesource.com/c/go/+/254738
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Trust: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>1 parent 14c7caa commit 5764653
File tree
3 files changed
+32
-6
lines changed- src/cmd
- api
- go/internal/modload
3 files changed
+32
-6
lines changedLines changed: 13 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
90 | - | ||
90 | + | ||
91 | + | ||
92 | + | ||
93 | + | ||
91 | 94 |
| |
92 | 95 |
| |
93 | 96 |
| |
| |||
478 | 481 |
| |
479 | 482 |
| |
480 | 483 |
| |
484 | + | ||
485 | + | ||
486 | + | ||
481 | 487 |
| |
482 | 488 |
| |
483 | 489 |
| |
| |||
491 | 497 |
| |
492 | 498 |
| |
493 | 499 |
| |
500 | + | ||
494 | 501 |
| |
495 | 502 |
| |
496 | 503 |
| |
| |||
503 | 510 |
| |
504 | 511 |
| |
505 | 512 |
| |
506 | - | ||
507 | - | ||
513 | + | ||
514 | + | ||
515 | + | ||
516 | + | ||
508 | 517 |
| |
509 | 518 |
| |
510 | - | ||
519 | + | ||
511 | 520 |
| |
512 | 521 |
| |
513 | 522 |
| |
|
Lines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
216 | 216 |
| |
217 | 217 |
| |
218 | 218 |
| |
219 | + | ||
220 | + | ||
221 | + | ||
222 | + | ||
223 | + | ||
224 | + | ||
225 | + | ||
226 | + | ||
227 | + | ||
228 | + | ||
229 | + | ||
230 | + | ||
231 | + |
Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1106 | 1106 |
| |
1107 | 1107 |
| |
1108 | 1108 |
| |
1109 | - | ||
1110 | - | ||
1109 | + | ||
1110 | + | ||
1111 | + | ||
1112 | + | ||
1113 | + | ||
1114 | + | ||
1111 | 1115 |
| |
1112 | 1116 |
| |
1113 | 1117 |
| |
|
0 commit comments