)]}'
{
  "commit": "1f62bc851567b95a5a7d7bd01a3e6ac619d0e3f2",
  "tree": "badacd6c95c4d8bfa4aee8bcf49777d987a10346",
  "parents": [
    "3081d33f82fe24d543b1fa0ea94f2587584b45fa"
  ],
  "author": {
    "name": "cuishuang",
    "email": "imcusg@gmail.com",
    "time": "Sat Jul 25 23:47:35 2026 +0800"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Thu Jul 30 13:25:54 2026 -0700"
  },
  "message": "present: validate background directive arguments\n\nThe .background directive assumes that an image argument is always\npresent and accesses args[1] without first checking the argument count.\nAs a result, a directive with no argument causes Parse to panic, while\nextra arguments are silently ignored.\n\nRequire exactly one argument and return a parsing error for malformed\n.background directives. Add tests for missing and extra arguments.\n\nFixes golang/go#80570\n\nChange-Id: Iefeab0fd706fc11de6c2134d98fe4e3e9c836169\nReviewed-on: https://go-review.googlesource.com/c/tools/+/805940\nLUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nAuto-Submit: Sean Liao \u003csean@liao.dev\u003e\nReviewed-by: Sean Liao \u003csean@liao.dev\u003e\nReviewed-by: Cherry Mui \u003ccherryyz@google.com\u003e\nReviewed-by: Michael Pratt \u003cmpratt@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8b41dd2df528bd98e3a3e10698a0349d4adb0e9a",
      "old_mode": 33188,
      "old_path": "present/parse.go",
      "new_id": "a0e1d58cd53d0988fd22a95787f0411a5736a3ba",
      "new_mode": 33188,
      "new_path": "present/parse.go"
    },
    {
      "type": "modify",
      "old_id": "bb0fe72fad0f2eaca4f1d5ae24cb3706bff4af46",
      "old_mode": 33188,
      "old_path": "present/parse_test.go",
      "new_id": "064fc23d02617be13166ce1227ef87f6b68dbd8e",
      "new_mode": 33188,
      "new_path": "present/parse_test.go"
    }
  ]
}
