)]}'
{
  "commit": "38ea83f8744a4b0b3601db3a5ebca4e72bbfc83b",
  "tree": "2d3df5b45a4f9089fa025274b0f7b00217abdd74",
  "parents": [
    "a12f21c06c17f55f8674cc0768db3898ebadd35f"
  ],
  "author": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Wed Jul 09 23:58:21 2025 +0100"
  },
  "committer": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Fri Jul 11 06:44:54 2025 +0100"
  },
  "message": "Align delete refs to the rest of Gerrit\n\nGerrit represents the removal of refs as the transition from a non-zero\nSHA to a zero-SHA, see one example in DeleteRef.deleteSingleRef()\nmethod.\n\nThe ChangeEditUtil.deleteRef() and\nStarredChangesUtilNoteDbImpl.deleteRef() failed to set the new object id\nin the RefUpdate, causing a situation where other parts of the code are\nexpecting a non-null SHA1 and therefore causing potential NPEs.\n\nAlign the removal of refs to the rest of Gerrit and allow more\nresilience in other parts of the code and in plugins, such as the\nglobal-refdb.\n\nBug: Issue 430336832\nForward-Compatible: checked\nRelease-Notes: Fix removal of edits that failed when used with global-refdb\nChange-Id: I0602aa007ed5d5d3341eca6160ce631e7bae1c04\n(cherry picked from commit 9469ddfdfaf00c707a9e4854a91b3c39a7df5d65)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "904490cb10e3299d6580707d8cee9177d3cb1afc",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/server/StarredChangesUtil.java",
      "new_id": "fd53586a69e90918fa4de820917368738faf3bfb",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/server/StarredChangesUtil.java"
    },
    {
      "type": "modify",
      "old_id": "710916e62fb7b67f4876fd18a587fdbed111d53e",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/server/edit/ChangeEditUtil.java",
      "new_id": "56f9643e4943ef650e65e0034de6e3d1dc77f9b6",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/server/edit/ChangeEditUtil.java"
    }
  ]
}
