)]}'
{
  "commit": "0fe206dea9f652c3b087fb65c5efc4ac3f0e370f",
  "tree": "5571ebfe774129cb02f75ac9ea855395e609926b",
  "parents": [
    "951496a53c73d34143be8622410fc90cb2e715cb"
  ],
  "author": {
    "name": "David Pursehouse",
    "email": "dpursehouse@collab.net",
    "time": "Wed May 16 16:12:52 2018 +0900"
  },
  "committer": {
    "name": "David Pursehouse",
    "email": "dpursehouse@collab.net",
    "time": "Thu May 17 19:58:34 2018 +0900"
  },
  "message": "Add submit hook\n\nThe submit hook is invoked synchronously when a change is submitted. If\nit returns a non-zero exit status, a MergeValidationException is thrown\nand the submit is prevented.\n\nThis adds back the ability to block submit by a hook. Previously this\nwas possible with the ref-update hook until its purpose was changed and\nonly invoked on ref updates such as branch creation, deletion, or fast-\nforward by direct push.\n\nChange-Id: Ie4efb90df645ecac01638b23305dc2ffb547192e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4b9ecdd49927c34be9bf3a782eda3e6568517e93",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/hooks/Module.java",
      "new_id": "bb2ee4c740b85627d549becacd9c1db0bca4d408",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/hooks/Module.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "59cfc43f6e0cf38e9944c8e295f350bcb63f95ed",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/hooks/Submit.java"
    },
    {
      "type": "modify",
      "old_id": "e3aa1b9e2fe8c4436b4e68278f47efd628be4368",
      "old_mode": 33188,
      "old_path": "src/main/resources/Documentation/config.md",
      "new_id": "7a1cbd2bc3479967d2bac54809aab9c43319c03c",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/config.md"
    },
    {
      "type": "modify",
      "old_id": "2c00a95961a3ad2f36774195f952652e09cecc1d",
      "old_mode": 33188,
      "old_path": "src/main/resources/Documentation/hooks.md",
      "new_id": "4fd192ddc6ce4dfca1eb1c4db191e3011e82639f",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/hooks.md"
    }
  ]
}
