)]}'
{
  "commit": "02e55058585de904ace02ebbb936dcf44c879c6d",
  "tree": "c3a137b1455cd192b00b57aa6d8a743d6d27e608",
  "parents": [
    "a222963bc4c6f370a6d3bbf3954447433317b689"
  ],
  "author": {
    "name": "Bryan C. Mills",
    "email": "bcmills@google.com",
    "time": "Wed Feb 23 11:55:08 2022 -0500"
  },
  "committer": {
    "name": "Carlos Amedee",
    "email": "carlos@golang.org",
    "time": "Thu Mar 03 14:29:55 2022 +0000"
  },
  "message": "[release-branch.go1.16] cmd/go: avoid +incompatible major versions if a go.mod file exists in a subdirectory for that version\n\nPrevious versions of the \u0027go\u0027 command would reject a pseudo-version\npassed to \u0027go get\u0027 if that pseudo-version had a mismatched major\nversion and lacked a \"+incompatible\" suffix. However, they would\nerroneously accept a version *with* a \"+incompatible\" suffix even if\nthe repo contained a vN/go.mod file for the same major version, and\nwould generate a \"+incompatible\" pseudo-version or version if the user\nrequested a tag, branch, or commit hash.\n\nThis change uniformly rejects \"vN.…\" without \"+incompatible\", and also\navoids resolving to \"vN.…+incompatible\", when vN/go.mod exists.\nTo maintain compatibility with existing go.mod files, it still accepts\n\"vN.…+incompatible\" if the version is requested explicitly as such\nand the repo root lacks a go.mod file.\n\nFixes #51331\nUpdates #51324\nUpdates #36438\n\nChange-Id: I2b16150c73fc2abe4d0a1cd34cb1600635db7139\nReviewed-on: https://go-review.googlesource.com/c/go/+/387675\nTrust: Bryan Mills \u003cbcmills@google.com\u003e\nReviewed-by: Michael Matloob \u003cmatloob@golang.org\u003e\n(cherry picked from commit 5a9fc946b42cc987db41eabcfcbaffd2fb310d94)\nReviewed-on: https://go-review.googlesource.com/c/go/+/387923\nRun-TryBot: Bryan Mills \u003cbcmills@google.com\u003e\nTryBot-Result: Gopher Robot \u003cgobot@golang.org\u003e\nReviewed-by: Dmitri Shuralyov \u003cdmitshur@golang.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "db7496faf6515df99b69b78a84b70f02c1d933c6",
      "old_mode": 33188,
      "old_path": "src/cmd/go/internal/modfetch/coderepo.go",
      "new_id": "ef0acfe965af4f27297c0e0ac126a8e1f845b34f",
      "new_mode": 33188,
      "new_path": "src/cmd/go/internal/modfetch/coderepo.go"
    },
    {
      "type": "modify",
      "old_id": "d98ea87da2c3dfe36a7448eee0ca3cc087784a75",
      "old_mode": 33188,
      "old_path": "src/cmd/go/internal/modfetch/coderepo_test.go",
      "new_id": "bb9268adb87c4cf1862056b30fd4f4659cacc1d2",
      "new_mode": 33188,
      "new_path": "src/cmd/go/internal/modfetch/coderepo_test.go"
    }
  ]
}
