Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: 'go mod tidy' should retain go.sum entries for the module graph with and without replacements #29182
However, in many cases users of the module will build from outside that module (especially given #24250). Builds from outside may need additional modules to satisfy the imports as seen from outside, and may need to check sums for those additional modules as well (see #28802).
(A flag to compute only the outside view, as in #24666, would not suffice: