)]}'
{
  "commit": "edeef9f530fb98f94be6603795f7e0e426ea986e",
  "tree": "32e5be8a6af7a11509d10fdde2d4852da8e8abca",
  "parents": [
    "8f8669e543c745dc1cc5ab946e529dfd0c38dc1c"
  ],
  "author": {
    "name": "Russ Cox",
    "email": "rsc@golang.org",
    "time": "Thu Jul 05 15:19:36 2018 -0400"
  },
  "committer": {
    "name": "Russ Cox",
    "email": "rsc@golang.org",
    "time": "Thu Jul 12 03:17:41 2018 +0000"
  },
  "message": "cmd/go/internal/modfetch: add detail to \"missing go.mod\" errors\n\nExplain what\u0027s wrong better than \"missing or invalid go.mod\".\nWhile we\u0027re here, improve the signal-to-noise ratio too.\n\nBefore this CL, using the scenario from golang/go#24522:\n\n$ vgo get github.com/rsc/blackfriday/v2\ngo: github.com/rsc/blackfriday/v2 v2.0.1: missing or invalid go.mod\ngo get github.com/rsc/blackfriday/v2: missing or invalid go.mod\n\n$ vgo get github.com/rsc/blackfriday/v2@v2.0.1-bad\ngo: github.com/rsc/blackfriday/v2 v2.0.1-bad: missing or invalid go.mod\ngo get github.com/rsc/blackfriday/v2@v2.0.1-bad: missing or invalid go.mod\n\nAfter this CL:\n\n$ vgo get github.com/rsc/blackfriday/v2\ngo: github.com/rsc/blackfriday/v2@v2.0.0: missing github.com/rsc/blackfriday/go.mod and .../v2/go.mod at revision v2.0.0\ngo: error loading module requirements\n\n$ vgo get github.com/rsc/blackfriday/v2@v2.0.1-bad\ngo: github.com/rsc/blackfriday/v2@v2.0.1-bad: go.mod has non-.../v2 module path \"github.com/rsc/blackfriday\" (and .../v2/go.mod does not exist) at revision v2.0.1-bad\ngo: error loading module requirements\n\nFixes golang/go#24522.\n\nChange-Id: I1471729cdde8345130d771f26b1501638b7452d2\nReviewed-on: https://go-review.googlesource.com/122399\nReviewed-by: Bryan C. Mills \u003cbcmills@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "daaea9fc7b3359b5d8234cb56f9497f497082378",
      "old_mode": 33188,
      "old_path": "vendor/cmd/go/internal/modfetch/coderepo.go",
      "new_id": "33be117de9387fedc9477b7299d097fa8fa07ae1",
      "new_mode": 33188,
      "new_path": "vendor/cmd/go/internal/modfetch/coderepo.go"
    },
    {
      "type": "modify",
      "old_id": "fcf849b4b52daea134da13e430b49dfdfa396aa8",
      "old_mode": 33188,
      "old_path": "vendor/cmd/go/internal/modfetch/coderepo_test.go",
      "new_id": "ac88471ce03f04886b72fc47fcc0f1e389ef8763",
      "new_mode": 33188,
      "new_path": "vendor/cmd/go/internal/modfetch/coderepo_test.go"
    },
    {
      "type": "modify",
      "old_id": "8c1fac2df458c22ef5eb246d67e6a604eb41c3c0",
      "old_mode": 33188,
      "old_path": "vendor/cmd/go/internal/modload/load.go",
      "new_id": "fe3f64df1c3e549845a20ee00d5e65ace9b4e076",
      "new_mode": 33188,
      "new_path": "vendor/cmd/go/internal/modload/load.go"
    },
    {
      "type": "modify",
      "old_id": "bd3d8db1c3c8196754372cf7816dfb7c7145687a",
      "old_mode": 33188,
      "old_path": "vendor/cmd/go/mod_test.go",
      "new_id": "bb303c0c054990352a0e20fda01760dba37a1292",
      "new_mode": 33188,
      "new_path": "vendor/cmd/go/mod_test.go"
    }
  ]
}
