)]}'
{
  "commit": "a27dbcdb7bba1b8a2cc84112fa31c8f9f818604e",
  "tree": "f68592217a0d606d0cdc418efa2d7c825c80df6d",
  "parents": [
    "547dc9985ca6d401284b7ee0018721e8aa3324d3"
  ],
  "author": {
    "name": "Rahul Yadav",
    "email": "yadavrah@google.com",
    "time": "Mon Jun 29 09:27:57 2026 +0000"
  },
  "committer": {
    "name": "gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Jun 30 04:44:38 2026 -0700"
  },
  "message": "git_trace2_event_log: Fix index out of range on empty config values\n\nIn git_trace2_event_log_base.py\u0027s GetDataEventName method, it parses\nvalue to identify if it represents a JSON list. When a config key has an\nempty string value, GetDataEventName evaluates value[0], which raises\nIndexError: string index out of range.\n\nThis change fixes the crash by checking if the value is a string and using\nstartswith/endswith to check for JSON lists instead of direct indexing.\n\nTest: PYTHONPATH\u003d. pytest tests/test_git_trace2_event_log.py\n\nBug: 512518342\nTAG\u003dagy\nCONV\u003dff5d70d7-e5b3-42b3-8f16-23b9e3070754\n\nChange-Id: Ic40a8c6a22df57d0e97f268f6e1bc8a14a5024a4\nReviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/602201\nReviewed-by: Gavin Mak \u003cgavinmak@google.com\u003e\nTested-by: Rahul Yadav \u003cyadavrah@google.com\u003e\nCommit-Queue: Rahul Yadav \u003cyadavrah@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1a59fee8a3a88455e9fae0d9b6d02d3f8b7ffdaf",
      "old_mode": 33188,
      "old_path": "git_trace2_event_log_base.py",
      "new_id": "063d101c698cff3ec90256a6b03fd3a695f27d91",
      "new_mode": 33188,
      "new_path": "git_trace2_event_log_base.py"
    },
    {
      "type": "modify",
      "old_id": "9a6ba2052a419a37e478783bb79049b358546df2",
      "old_mode": 33188,
      "old_path": "tests/test_git_trace2_event_log.py",
      "new_id": "13b64df2d493a94e3bc57324b79daf0a2c023736",
      "new_mode": 33188,
      "new_path": "tests/test_git_trace2_event_log.py"
    }
  ]
}
