)]}'
{
  "commit": "289f1cb5dd01ea79abd5bcc9f6922bb75236b8a0",
  "tree": "48f0db6093eda19333390035f8d99233bc11c9ec",
  "parents": [
    "ef1767f39033dce6b5c5bdc337dde48942eebcf4"
  ],
  "author": {
    "name": "Ben Pastene",
    "email": "bpastene@chromium.org",
    "time": "Mon Nov 23 19:55:13 2026 +0000"
  },
  "committer": {
    "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Nov 23 12:04:29 2026 -0800"
  },
  "message": "Don\u0027t pass an empty refspec to git fetch in gn trybuilds\n\ngn trybots are currently failing during \"git.fetch\" with HTTP 400\nerrors, eg:\nhttps://ci.chromium.org/b/8664323423796267793/infra\n\nIn protobuf, build_input.gitiles_commit is always truthy even when\nunset. So on trybuilds, ref evaluates to \"\", meaning the recipe has\nbeen running `git fetch --tags https://gn.googlesource.com/gn \"\"`.\n\nThat used to work fine. According to jetski, git expands \"\" under\nprotocol v2 into a \"ref-prefix refs/remotes//HEAD\" ls-refs arg. But\ngit-on-borg recently started rejecting that as an invalid ref name due\nto the double slash.\n\nSo this checks build_input.gitiles_commit.id instead, and falls back\nto \"refs/heads/main\" (instead of the old \"refs/heads/master\").\n\nNo-try: true\nBug: None\nChange-Id: I6ceb36c8f4e73b479289f08bbf637ef045be700a\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/29420\nReviewed-by: Andrew Grieve \u003cagrieve@google.com\u003e\nCommit-Queue: Ben Pastene \u003cbpastene@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3942c4da020db6eb51d2b6b8bf17693499ab669d",
      "old_mode": 33188,
      "old_path": "infra/recipes/gn.expected/cq_linux.json",
      "new_id": "570886306518c48d65ad4f860496914506919647",
      "new_mode": 33188,
      "new_path": "infra/recipes/gn.expected/cq_linux.json"
    },
    {
      "type": "modify",
      "old_id": "402ce4fdd5d93ea358ac0e62c28f18cd4335e02e",
      "old_mode": 33188,
      "old_path": "infra/recipes/gn.expected/cq_mac.json",
      "new_id": "48d5f7283e366ed491adb383234dae84352ee12b",
      "new_mode": 33188,
      "new_path": "infra/recipes/gn.expected/cq_mac.json"
    },
    {
      "type": "modify",
      "old_id": "474d5984df6f3e67423e8b930ab17f7c5040ffc5",
      "old_mode": 33188,
      "old_path": "infra/recipes/gn.expected/cq_win.json",
      "new_id": "a620ac5942a037e2770ef6b4eb5fc2b223007717",
      "new_mode": 33188,
      "new_path": "infra/recipes/gn.expected/cq_win.json"
    },
    {
      "type": "modify",
      "old_id": "e404ddb16b3b5755930d875eee7db7e6ab91b7d2",
      "old_mode": 33188,
      "old_path": "infra/recipes/gn.py",
      "new_id": "5cd3f37c2762b7483b38a8ecad7c2f003cdcbf2c",
      "new_mode": 33188,
      "new_path": "infra/recipes/gn.py"
    }
  ]
}
