1
0
mirror of https://github.com/golang/go synced 2024-11-19 07:04:43 -07:00
go/refactor/importgraph
Alan Donovan 10712091e1 tools: fallout from flipped sense of build.IgnoreVendor flag
(See https://go-review.googlesource.com/#/c/18450)

Details:
- delete buildutil.AllowVendor flag.
  Instead use unexported 'go16' var in each package that needs it.
- delete buildutil.StripVendor; was never needed.
- remove inapplicable vendoring comments from loader14.go
- importgraph: go1.5: don't bother checking for 1.6 before calling
  absolutize (minor simplifiication and deoptimization).

Tested on 1.4.1, 1.5, and ~1.6 (tip).

Change-Id: If692b0df2eb6c120a9c09d7b1ed99f1b4c6b0826
Reviewed-on: https://go-review.googlesource.com/18452
Reviewed-by: Russ Cox <rsc@golang.org>
2016-01-08 18:54:48 +00:00
..
go16_test.go tools: fallout from flipped sense of build.IgnoreVendor flag 2016-01-08 18:54:48 +00:00
graph_test.go tools: fallout from flipped sense of build.IgnoreVendor flag 2016-01-08 18:54:48 +00:00
graph.go tools: fallout from flipped sense of build.IgnoreVendor flag 2016-01-08 18:54:48 +00:00