)]}'
{
  "commit": "93ff9c2c115c9e4b917ac5a4cfc527e275c61336",
  "tree": "bf54b7fb5e47bb8b46d1525161789b4baf0e8f61",
  "parents": [
    "3faade4713422d94d0ed32adeea8c3a518deb572"
  ],
  "author": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Fri Feb 28 22:40:42 2020 +0000"
  },
  "committer": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Sat Feb 29 20:03:38 2020 +0000"
  },
  "message": "Update project version on global ref-db only when more recent\n\nThe project version (refs/multi-site/version) on the local project is more\nup-to-date than the one on global ref-db, update unconditionally\nwithout requiring the local SHA1 to be the same of the global ref-db.\n\nWhen refs are updated in a short period of time (e.g. refs/multi-site/version\nand refs/changes/N/NNNN/meta) it is not guaranteed that the replication\nwill be able to push all the intermediate SHA1s. Skipping SHA1s to push\nfor non-fast-forward branches like refs/multi-site/version is a valid\nuse-case and thus can be performed as long as the local version is\nthe most recent one.\n\nFailing to update the global ref-db project version causes split-brain\nwith all the other nodes because the replication would filter out\nthe refs out of sync.\n\nBug: Issue 12413\nChange-Id: Ib5e49edd3ba37ed60f34736f7af5e5a324248e51\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a8f344ea2ba5c2a7ba1b2503260edeac4745e145",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/multisite/validation/ProjectVersionRefUpdate.java",
      "new_id": "d13ed79ebb996729b1c79cde658b612f5e20bfa7",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/multisite/validation/ProjectVersionRefUpdate.java"
    },
    {
      "type": "modify",
      "old_id": "90e32749d33fb34e30bb0f05211553149c3979d6",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/multisite/validation/ProjectVersionRefUpdateTest.java",
      "new_id": "1839fe1bd5bb1065b6390e76fb63ea95980c3d56",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/multisite/validation/ProjectVersionRefUpdateTest.java"
    }
  ]
}
