)]}'
{
  "commit": "18d3f5618645fbebec703867364c3f2ac1102f1d",
  "tree": "301b984a960c82ee6d7727433043d8abe657b065",
  "parents": [
    "766dc5df63e3e3e5cd6b1682f522a01c99723beb"
  ],
  "author": {
    "name": "crazybolillo",
    "email": "antonio@zoftko.com",
    "time": "Fri Mar 08 12:44:38 2024 -0300"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Fri Mar 08 22:14:54 2024 +0000"
  },
  "message": "modfile: fix crash on AddGoStmt in empty File\n\nAddGoStmt uses File.Syntax without checking whether\nit is nil or not. This causes crashes when using it on empty files that\nhave not had their Syntax member initialized to a valid pointer.\n\nThis change fixes it by ensuring File.Syntax is a valid pointer before\nproceeding.\n\nFixes golang/go#62457.\n\nChange-Id: Iab02039f79e73d939ca5d3e48b29faa5e0a9a5ec\nReviewed-on: https://go-review.googlesource.com/c/mod/+/570115\nReviewed-by: Michael Knyszek \u003cmknyszek@google.com\u003e\nAuto-Submit: Bryan Mills \u003cbcmills@google.com\u003e\nReviewed-by: Bryan Mills \u003cbcmills@google.com\u003e\nLUCI-TryBot-Result: Go LUCI \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "26acaa5f7c4174b29cd1b310a41c9929c314736c",
      "old_mode": 33188,
      "old_path": "modfile/rule.go",
      "new_id": "0e7b7e26792b24e70e7fed28b9d9c6667efbded1",
      "new_mode": 33188,
      "new_path": "modfile/rule.go"
    },
    {
      "type": "modify",
      "old_id": "57c8be6f60a0e415d13e642e0e56062affe3aabd",
      "old_mode": 33188,
      "old_path": "modfile/rule_test.go",
      "new_id": "96e0bfe8199fc46e1b0dfdfbbdd5a8ccdcdc6850",
      "new_mode": 33188,
      "new_path": "modfile/rule_test.go"
    }
  ]
}
