)]}'
{
  "commit": "0af31d2a5df62329162a750beec2e9dc0adf8e72",
  "tree": "306c36bf6a5e45b115762fcefbac32c293df799f",
  "parents": [
    "90c64204e1e27ec245f41b3d08b10f431dd72faf"
  ],
  "author": {
    "name": "Alvaro Vilaplana Garcia",
    "email": "alvaro.vilaplana@gmail.com",
    "time": "Wed Nov 13 15:35:29 2024 +0000"
  },
  "committer": {
    "name": "Alvaro Vilaplana Garcia",
    "email": "alvaro.vilaplana@gmail.com",
    "time": "Thu Nov 14 16:23:36 2024 +0000"
  },
  "message": "Fix PushOne toString() to show the right refs and hidden number\n\nInclude all refs without applying any limit when `maxRefsToShow`\nis set to 0 and limit the displayed refs to the specified maximum\nwhen `maxRefsToShow` is greater than 0. Previously, the method\nalways limited the number of refs to `maxRefsToShow`, and\n`maxRefsToShow` was updated to the batch count when initially\nset to 0.\n\nRemove the calculation of hidden refs to avoid performance\nissues with millions of refs.\n\nBug: Issue 375798125\nRelease-Notes: skip\nChange-Id: I30aae0cebf4fe28309542808baeeb316e1e7fb52\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a6488454f811bbc63df610bc089d145381ddd9d5",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java",
      "new_id": "c9b99943cfb8c74bef03d1748733a6bc7c64ef5b",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java"
    }
  ]
}
