)]}'
{
  "commit": "1fbd90da749cc80c115f745e458cea31d0bb5dec",
  "tree": "8288446c26117333bea1af60a462d68c1e154c2a",
  "parents": [
    "60276878a34403dca79d208881577d81467ce399"
  ],
  "author": {
    "name": "Diego Zambelli Sessona",
    "email": "diego.sessona@gmail.com",
    "time": "Tue Mar 19 15:58:18 2024 +0100"
  },
  "committer": {
    "name": "Diego Zambelli Sessona",
    "email": "diego.sessona@gmail.com",
    "time": "Wed Mar 27 07:17:55 2024 +0000"
  },
  "message": "Fix paginationType NONE to run further queries only if needed\n\nIf the first query to the index did not fill the full limit the caller\nwants, we paginate to obtain more results. However, subsequent queries\nare not needed if the previous query returned less results\nthan the limit.\n\nThis is a follow up of the change 413358 [1], that has reintroduced the\nissue fixed in change 344695.\n\n[1]: https://gerrit-review.googlesource.com/c/gerrit/+/413358/comment/85bca522_2b3552b2/\n\nBug: Issue 330195358\nRelease-Notes: Fix pagination to stop querying when there are no more results\nChange-Id: Ie326f3628f5312a83bf83177a3fa5134f042b59a\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9ec64e63e0acb94dcbd58c5b068ffc1bdfb8f4a4",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/index/query/PaginatingSource.java",
      "new_id": "d89fe66c14cf042bcef5a74bf9719772503eb58a",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/index/query/PaginatingSource.java"
    }
  ]
}
