)]}'
{
  "commit": "54fa31cd844b3de887a1915755b110287a4d2bcb",
  "tree": "ba113b235b162de2fd2a355d022abe822a7d7489",
  "parents": [
    "29b6630a6532b20fc26c7b44d8fa69fd4db390a0"
  ],
  "author": {
    "name": "Brian Gan",
    "email": "brgan@google.com",
    "time": "Thu Jul 30 23:21:22 2026 +0000"
  },
  "committer": {
    "name": "gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Jul 30 17:00:00 2026 -0700"
  },
  "message": "project: derive HEAD fallback from git\u0027s own default branch\n\nWhen the default branch cannot be determined dynamically, repo fell back\nto a hardcoded \"refs/heads/master\". This can point at a branch that does\nnot exist on the server, since projects increasingly default to \"main\".\nRather than swap one hardcoded name for another, ask git itself what it\nwould use.\n\nBug: 483758905\nChange-Id: Ic66712acea98f8e548a2d6d8211865ee5c416b4d\nReviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/612845\nTested-by: Brian Gan \u003cbrgan@google.com\u003e\nReviewed-by: Gavin Mak \u003cgavinmak@google.com\u003e\nCommit-Queue: Brian Gan \u003cbrgan@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "36039321ffbcb6922df9bb9c8ad902ff5732a5f7",
      "old_mode": 33188,
      "old_path": "project.py",
      "new_id": "45860d228b1a83d4337786e9424e8a480a1d5dd1",
      "new_mode": 33188,
      "new_path": "project.py"
    },
    {
      "type": "modify",
      "old_id": "1ebeb85d7128ca150f3f902cf7168fc757201717",
      "old_mode": 33188,
      "old_path": "tests/test_project.py",
      "new_id": "342ef6b8a655a43aa2cd174e1124009a78afe34c",
      "new_mode": 33188,
      "new_path": "tests/test_project.py"
    }
  ]
}
