)]}'
{
  "commit": "73c5f6f1827f4709e9e01336fb03d4fcd07b6445",
  "tree": "c8c73a588ccebe828bd84b7e74952ad8f6057d93",
  "parents": [
    "0564ffd5f2e77883d39d369bd52fff66a253e8dd"
  ],
  "author": {
    "name": "Aleksa Kovacevic",
    "email": "aleksakovacevicc@gmail.com",
    "time": "Wed Oct 14 11:38:42 2026 +0200"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Fri Oct 16 13:17:51 2026 -0700"
  },
  "message": "cmd/go: keep go vet\u0027s own tool flags in std packages\n\nFor std packages, when no analyzer flags are provided, go vet sets\n-unsafeptr\u003dfalse (issue 37030) to enable all but that one analyzer.\nHowever, since CL 700795, this had the effect of discarding necessary\nflags that go vet adds to the tool flags itself, such as -json, or\n-fix in fix mode. Consequently go vet -fix on a std package would\nreport diagnostics but apply no fixes, and go vet -c\u003d1 would print no\ncontext lines.\n\nThis change retains those flags, adding -unsafeptr\u003dfalse to them.\ngo test still replaces its default analyzer flags, so that all\nanalyzers except unsafeptr and unreachable run in std.\n\nThe go vet -n tests now use -a, because a cached vet result means no\nvet command is printed.\n\nUpdates #82020\n\nChange-Id: Idf87379b7e9058addfd1b4ba634c3a8a8b3cd1fe\nReviewed-on: https://go-review.googlesource.com/c/go/+/845345\nReviewed-by: Dmitri Shuralyov \u003cdmitshur@google.com\u003e\nAuto-Submit: Dmitri Shuralyov \u003cdmitshur@google.com\u003e\nReviewed-by: Alan Donovan \u003cadonovan@google.com\u003e\nLUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9a1255e100b686f79d1cf23c27da7ad373d7192f",
      "old_mode": 33188,
      "old_path": "src/cmd/go/internal/work/exec.go",
      "new_id": "140e1066968a88b5225f81dfff4f8aa704c7b722",
      "new_mode": 33188,
      "new_path": "src/cmd/go/internal/work/exec.go"
    },
    {
      "type": "modify",
      "old_id": "f59974d41234ce202ae8519091087ce70f627c83",
      "old_mode": 33188,
      "old_path": "src/cmd/go/testdata/script/vet_flags.txt",
      "new_id": "88bcda8d1962053aaaaea61db87fe80691faee5b",
      "new_mode": 33188,
      "new_path": "src/cmd/go/testdata/script/vet_flags.txt"
    }
  ]
}
