)]}' { "commit": "a9146a49d0db666a7efd5f5d4555cf6117405cf5", "tree": "f4767ced3fd89434280a93cbc26b15d17d4a1e5b", "parents": [ "2a9636dc2bdbb2865dde686352de528c6953c7bf" ], "author": { "name": "Bryan C. Mills", "email": "bcmills@google.com", "time": "Thu Jul 23 00:45:27 2020 -0400" }, "committer": { "name": "Bryan C. Mills", "email": "bcmills@google.com", "time": "Mon Aug 24 20:45:05 2020 +0000" }, "message": "cmd/go/internal/modload: cache parsed go.mod files globally\n\nPreviously they were cached per mvsReqs instance. However, the\ncontents of the go.mod file of a given dependency version can only\nvary if the \u0027replace\u0027 directives that apply to that version have\nchanged, and the only time we change \u0027replace\u0027 directives is in \u0027go\nmod edit\u0027 (which does not care about the build list or MVS).\n\nThis not only simplifies the mvsReqs implementation, but also makes\nmore of the underlying logic independent of mvsReqs.\n\nFor #36460\n\nChange-Id: Ieac20c2fcd56f64d847ac8a1b40f9361ece78663\nReviewed-on: https://go-review.googlesource.com/c/go/+/244774\nRun-TryBot: Bryan C. Mills \u003cbcmills@google.com\u003e\nTryBot-Result: Gobot Gobot \u003cgobot@golang.org\u003e\nReviewed-by: Jay Conrod \u003cjayconrod@google.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "b6f955d591ca716a5ee57a9b0f1b78400fed5fc5", "old_mode": 33188, "old_path": "src/cmd/go/internal/modload/build.go", "new_id": "7e182b4a4d870f27dd5fde358525a8d3dde38702", "new_mode": 33188, "new_path": "src/cmd/go/internal/modload/build.go" }, { "type": "modify", "old_id": "9ff00e9b5c18a25b21f3ba5b773bef62e810af01", "old_mode": 33188, "old_path": "src/cmd/go/internal/modload/modfile.go", "new_id": "c04e2add1389ce8f2699478ebc265717a6164949", "new_mode": 33188, "new_path": "src/cmd/go/internal/modload/modfile.go" }, { "type": "modify", "old_id": "873f5891c910a302736f0f8957e874cc390e3c6e", "old_mode": 33188, "old_path": "src/cmd/go/internal/modload/mvs.go", "new_id": "6b6ad945e41a03051ee2c88adbebf6d33ed5b598", "new_mode": 33188, "new_path": "src/cmd/go/internal/modload/mvs.go" }, { "type": "modify", "old_id": "7e1bc9ea4f9a6b20a89ea3420d64385f44a8825f", "old_mode": 33188, "old_path": "src/cmd/go/testdata/script/mod_invalid_version.txt", "new_id": "6dddd4b03654971a427f23bcffe02b554754a413", "new_mode": 33188, "new_path": "src/cmd/go/testdata/script/mod_invalid_version.txt" } ] }