)]}'
{
  "commit": "de23549a3967ade982d848a5b6ae3cb3fa0dba45",
  "tree": "b176a2f18b79f6829fd56ecfb11e84d66a0cdf03",
  "parents": [
    "3b523caf4145c2d915c5ead69440f9b890634587"
  ],
  "author": {
    "name": "Michael Matloob",
    "email": "matloob@golang.org",
    "time": "Tue Aug 24 12:37:15 2021 -0400"
  },
  "committer": {
    "name": "Michael Matloob",
    "email": "matloob@golang.org",
    "time": "Wed Aug 25 17:23:06 2021 +0000"
  },
  "message": "[dev.cmdgo] cmd/go: fix calls to modFileGoVersion to pass in modFile\n\nBefore this change, we were arbitrarily picking a module to get the Go\nversion from in calls to modFileGoVersion. We now pass in the modFile to\nmodFileGoVersion when we have the file. Most of the calls were to get\nthe goVersion argument for commitRequirements, so now we have\ncommitRequirements call modFileGoVersion on the modFile directly\nOne of the calls to commitRequirements (when running go mod tidy with\na different Go version) passed in a new go version to update the file\nto. Now, the modFile is updated before calling commitRequirements.\n\nFor the remaining cases of modFileGoVersion, it\u0027s replaced by a call to\nthe new (*MainModuleSet).GoVersion function, which either returns the go\nversion on the workspace file (in workspace mode) or the version of the\nsingle go.mod file.\n\nChange-Id: Ie88c3ca76c7f29ffc4faa16bb76f6cb7eccb5029\nReviewed-on: https://go-review.googlesource.com/c/go/+/344749\nTrust: Michael Matloob \u003cmatloob@golang.org\u003e\nRun-TryBot: Michael Matloob \u003cmatloob@golang.org\u003e\nTryBot-Result: Go Bot \u003cgobot@golang.org\u003e\nReviewed-by: Jay Conrod \u003cjayconrod@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "14379b4c3c13cf7c9f0dd40ace6a21bfd632719f",
      "old_mode": 33188,
      "old_path": "src/cmd/go/internal/modload/buildlist.go",
      "new_id": "94414278abb4013f4d54ff0c325d4b9be632ca75",
      "new_mode": 33188,
      "new_path": "src/cmd/go/internal/modload/buildlist.go"
    },
    {
      "type": "modify",
      "old_id": "ab6733830fc078610071b678384565f01542a6b1",
      "old_mode": 33188,
      "old_path": "src/cmd/go/internal/modload/init.go",
      "new_id": "b845842a7fa4c91465cd9164df63663d957c47f2",
      "new_mode": 33188,
      "new_path": "src/cmd/go/internal/modload/init.go"
    },
    {
      "type": "modify",
      "old_id": "1862bef494524d2d5e467c147e9fc614f13f0af4",
      "old_mode": 33188,
      "old_path": "src/cmd/go/internal/modload/list.go",
      "new_id": "9c5018f340bbf4067c2fe2056dc86eee91a401ba",
      "new_mode": 33188,
      "new_path": "src/cmd/go/internal/modload/list.go"
    },
    {
      "type": "modify",
      "old_id": "c9004ff7964393a7afdcf0576b181734aa033175",
      "old_mode": 33188,
      "old_path": "src/cmd/go/internal/modload/load.go",
      "new_id": "efe6ad1319cb84f6211104fe52737f0ba47056ce",
      "new_mode": 33188,
      "new_path": "src/cmd/go/internal/modload/load.go"
    },
    {
      "type": "modify",
      "old_id": "09e9c67659e9ec76d623ffd7273cb50ef5e6201b",
      "old_mode": 33188,
      "old_path": "src/cmd/go/internal/modload/modfile.go",
      "new_id": "463869910c857f3448c57455893ee58b387a10df",
      "new_mode": 33188,
      "new_path": "src/cmd/go/internal/modload/modfile.go"
    }
  ]
}
