)]}'
{
  "commit": "1edc2848844339e62327371802f5bdc55c24d92e",
  "tree": "f8b2c79d17470e9a808b9a3f2b9b7fd7143ca78f",
  "parents": [
    "228c4ab4a906e406adc7a1434cfe9722a0d9020b"
  ],
  "author": {
    "name": "Marcin Czech",
    "email": "maczech@gmail.com",
    "time": "Tue Jan 16 13:03:16 2024 +0100"
  },
  "committer": {
    "name": "Marcin Czech",
    "email": "maczech@gmail.com",
    "time": "Mon Jan 22 17:32:00 2024 +0000"
  },
  "message": "Call synchronous fetch for all refs in batch if any is marked as sync\n\nThe list of refs provided to the `batch-ref` endpoint can include both\nasync and sync refs. If any ref in batch matches `replication.syncRefs`\nparam all refs are fetched synchronously.\n\nBy fetching all references synchronously when any reference matches the\nreplication.syncRefs parameter, we ensure that the entire batch\noperation is atomic. This helps maintain the consistency and integrity of\nchanges.\n\nBug: Issue 305984261\nChange-Id: I66a5c7da6aa3a85eace4b8e34556f3e7502c6b0c\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8531b0a75d50e43b5d40a13a157e331204e33433",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/client/FetchRestApiClient.java",
      "new_id": "e682b717bbfe1b65b8bdf4fc5649726b67fe61a3",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/client/FetchRestApiClient.java"
    },
    {
      "type": "modify",
      "old_id": "ed0c5e7ef9ad4d6773c0e6fbcbc1db7f6b62deff",
      "old_mode": 33188,
      "old_path": "src/main/resources/Documentation/config.md",
      "new_id": "acc636bbe6137e71620eec656085efdb717b6e89",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/config.md"
    },
    {
      "type": "modify",
      "old_id": "087920b7cfa20f1ae8b27a752bdc4dc3ff66bb66",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/replication/pull/client/FetchRestApiClientBase.java",
      "new_id": "e9e28edcc889e7498a4597d7945720c6293678c5",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/replication/pull/client/FetchRestApiClientBase.java"
    }
  ]
}
