)]}'
{
  "commit": "4064a4422cb4b108e1d64af28685825fd5c573c8",
  "tree": "3248c3d10e17f2e349042b1eb1d65486146a15d8",
  "parents": [
    "cf74230526d848304907f325b3e425128fa98026"
  ],
  "author": {
    "name": "Edwin Kempin",
    "email": "edwin.kempin@sap.com",
    "time": "Thu Oct 31 14:06:17 2013 +0100"
  },
  "committer": {
    "name": "Edwin Kempin",
    "email": "edwin.kempin@sap.com",
    "time": "Thu Oct 31 14:19:42 2013 +0100"
  },
  "message": "Listen to change events instead of listening to ref updates\n\nAt the moment the plugin is listening to all ref-updated events. It\nthen filters for \u0027refs/changes/*\u0027 refs and parses the change and patch\nset information out of the ref name in order to add the reviewers for\nthis change/patch set.\n\nThis works fine except when Gerrit sends the ref-updated event before\nthe new patch set is created in the database (see issue 2181). Because\nof this the plugin cannot add reviewers when a change is rebased in\nthe WebUI or if modifications to the access rights are saved for\nreview.\n\nChange the plugin to listen to change events instead of listening to\nref-updated events since for the change events is it ensured that they\nare only fired after the patch set and change have been created in the\ndatabase.\n\nSaving modifications to the access rights for review is currently not\ntriggering a change event, but this is fixed by [1].\n\n[1] https://gerrit-review.googlesource.com/51282\n\nBug: issue 2181\nChange-Id: Ib971f5aa2ae5fc19141f1680b1292efa2757bbf8\nSigned-off-by: Edwin Kempin \u003cedwin.kempin@sap.com\u003e\n",
  "tree_diff": [
    {
      "type": "rename",
      "old_id": "f40cdfe4cd2a960fa3c1948b4435a73fe4652d04",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/reviewersbyblame/RefUpdateListener.java",
      "new_id": "36aec152c22af7113e1208dcaaa08fa66af67d4d",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/reviewersbyblame/ChangeUpdatedListener.java",
      "score": 86
    },
    {
      "type": "modify",
      "old_id": "f61296b69a413a651076d047f4fb7684c88e5b04",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/reviewersbyblame/ReviewersByBlameModule.java",
      "new_id": "508c44358d938e14a0a26df82022e4bc3671e988",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/reviewersbyblame/ReviewersByBlameModule.java"
    }
  ]
}
