)]}'
{
  "commit": "b5b860c7f55cd9ece1dcfcc4a7def912351cb8e9",
  "tree": "90b1c72ce31cca244a9b71a1bc9992158b0b47a7",
  "parents": [
    "bf54bcd2f14a330f0dcffa4cf631235de771bde2"
  ],
  "author": {
    "name": "cuishuang",
    "email": "imcusg@gmail.com",
    "time": "Sat Jul 25 15:11:03 2026 +0800"
  },
  "committer": {
    "name": "Madeline Kalil",
    "email": "mkalil@google.com",
    "time": "Mon Aug 10 14:08:08 2026 -0700"
  },
  "message": "gopls/internal/mcp: report one-based reference line numbers\n\nformatReferences currently embeds zero-based LSP line numbers in its\nhuman-readable output. This causes, for example, a declaration on the\nthird source line to be reported as being on line 2.\n\nConvert reference line numbers to one-based values for display while\nretaining zero-based indexing when reading the corresponding source\nline.\n\nUpdate the MCP marker tests accordingly.\n\nChange-Id: I9b7675756e8b828ac7f00fbe371d7e908cfe426c\nReviewed-on: https://go-review.googlesource.com/c/tools/+/805820\nLUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nReviewed-by: Madeline Kalil \u003cmkalil@google.com\u003e\nReviewed-by: Dmitri Shuralyov \u003cdmitshur@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d49bce1bab3efe9f972a0b4e0dd1b9d8419de207",
      "old_mode": 33188,
      "old_path": "gopls/internal/mcp/references.go",
      "new_id": "2e82a428ca5bab039df1ad7a58ad384fc48cb3e2",
      "new_mode": 33188,
      "new_path": "gopls/internal/mcp/references.go"
    },
    {
      "type": "modify",
      "old_id": "0172076634cb11bf3db757929921469109a3e184",
      "old_mode": 33188,
      "old_path": "gopls/internal/test/marker/testdata/mcptools/references.txt",
      "new_id": "455e59b65fb75caf3022514bcb1f1e5b682bdcfd",
      "new_mode": 33188,
      "new_path": "gopls/internal/test/marker/testdata/mcptools/references.txt"
    },
    {
      "type": "modify",
      "old_id": "b08a0a286da229f3b1fef3c95f5c4d3976f2c412",
      "old_mode": 33188,
      "old_path": "gopls/internal/test/marker/testdata/mcptools/symbol_references.txt",
      "new_id": "fdfc08b63f1240afdee1d92aafed9a15a1446577",
      "new_mode": 33188,
      "new_path": "gopls/internal/test/marker/testdata/mcptools/symbol_references.txt"
    }
  ]
}
