)]}'
{
  "commit": "b2b9dc3de7ada0e2cafb956b2e1cdcf6e2a8e5e2",
  "tree": "a58372bf10f27312bdebf7e4afc1011e775f5ba5",
  "parents": [
    "3cb82d5f9c98d67e87672ca017a22189388bffa3"
  ],
  "author": {
    "name": "Alan Donovan",
    "email": "adonovan@google.com",
    "time": "Mon Dec 12 11:31:59 2022 -0500"
  },
  "committer": {
    "name": "Alan Donovan",
    "email": "adonovan@google.com",
    "time": "Thu Dec 15 15:11:51 2022 +0000"
  },
  "message": "gopls/internal/lsp/cache: reduce type-checking in renameImports\n\nBefore, package renaming would type-check the entire reverse\ntransitive closure. This change avoids type checking for indirect\nreverse dependencies, or when the package\u0027s (leaf) name hasn\u0027t\nchanged.\n\nThe references operation also uses the new APIs (to request metadata\nseparate from type checking), and uses it to avoid type checking\nentirely when computing references to a package name,\nbut doesn\u0027t yet economize on the set of packages it type checks\nin the general case. That will come in a follow-up; eventually\nof course it will be based on a search index, not type checking.\n\nAlso:\n- fix vendoring issues flagged by TODO.\n- Snapshot.ReverseDependencies now returns only metadata, no type checking.\n- metadataGraph.reverseTransitiveClosure returns a map.\n- added source.RemoveIntermediateTestVariants helper.\n- deleted snapshot.checkedPackage, no longer needed.\n\nChange-Id: Ia17c9d9c7922a45cf9b6e1bb86c4919a60da0215\nReviewed-on: https://go-review.googlesource.com/c/tools/+/456759\nRun-TryBot: Alan Donovan \u003cadonovan@google.com\u003e\ngopls-CI: kokoro \u003cnoreply+kokoro@google.com\u003e\nTryBot-Result: Gopher Robot \u003cgobot@golang.org\u003e\nReviewed-by: Robert Findley \u003crfindley@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "709f1abfb2f0c5ead6f7aaad4b08aad4f09ec1e8",
      "old_mode": 33188,
      "old_path": "gopls/internal/lsp/cache/graph.go",
      "new_id": "5df0234e2d605927e47c1166f4bf613c7ed3cd47",
      "new_mode": 33188,
      "new_path": "gopls/internal/lsp/cache/graph.go"
    },
    {
      "type": "modify",
      "old_id": "c518aca2c0cd374857d1111416e63ddf04810c4a",
      "old_mode": 33188,
      "old_path": "gopls/internal/lsp/cache/snapshot.go",
      "new_id": "1818d0e2e0f6fc00f89dcba4dee325bab0852e3e",
      "new_mode": 33188,
      "new_path": "gopls/internal/lsp/cache/snapshot.go"
    },
    {
      "type": "modify",
      "old_id": "49b82948ab0862d4fc8be21bfd93c6f3c2b374ed",
      "old_mode": 33188,
      "old_path": "gopls/internal/lsp/source/references.go",
      "new_id": "b99c2b162ee576a199a9ce9b548ff3d569e5ebc1",
      "new_mode": 33188,
      "new_path": "gopls/internal/lsp/source/references.go"
    },
    {
      "type": "modify",
      "old_id": "9b089cfe6735e82b92f159eb3188a3a076dd71fd",
      "old_mode": 33188,
      "old_path": "gopls/internal/lsp/source/rename.go",
      "new_id": "5d08f0eb60272345e47b69cbc091b08a833e85c4",
      "new_mode": 33188,
      "new_path": "gopls/internal/lsp/source/rename.go"
    },
    {
      "type": "modify",
      "old_id": "6b32639d52112646ba67a9c081ae17fa10a0326b",
      "old_mode": 33188,
      "old_path": "gopls/internal/lsp/source/view.go",
      "new_id": "14a568a2f45ba3945b77ce9f4154037869caa0e9",
      "new_mode": 33188,
      "new_path": "gopls/internal/lsp/source/view.go"
    }
  ]
}
