)]}'
{
  "commit": "d556c19fbd3bce1cc1ea4b7ce03db0289bef93c7",
  "tree": "0698dc41a19c7c96885e24fac7deb445cd0870d6",
  "parents": [
    "e11af5871947e226ec34a914b1038f61bc744028"
  ],
  "author": {
    "name": "David Pursehouse",
    "email": "david.pursehouse@sonymobile.com",
    "time": "Tue Jun 12 18:34:37 2012 +0900"
  },
  "committer": {
    "name": "Shawn O. Pearce",
    "email": "sop@google.com",
    "time": "Sat Jun 16 21:46:59 2012 -0700"
  },
  "message": "Send event to stream when draft change is published\n\nWhen a change is uploaded as a draft, a `patchset-created` event is\nsent to the event stream, but since drafts are private to the owner,\nthe event is not publicly visible.  Furthermore, when the draft is\nlater published, no publicly visible event is sent.\n\nThe result of this is that external tools that rely on the event stream\nto detect new changes will not receive events for any changes that are\nfirst uploaded as draft.\n\nThis patch adds a new event, `draft-published`, which is sent to the\nevent stream when a draft change is published.  The content of this\nevent is the same as `patchset-created`.\n\nBug: Issue 1437\nChange-Id: I72f6dde99a82253ba796c1c13226a8b33f0e82bf\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b3c603790833bd2e83f28583782b1971cb9fc7ee",
      "old_mode": 33188,
      "old_path": "Documentation/cmd-stream-events.txt",
      "new_id": "0fb27cce65c352ccc5e4bde63dec7d36639dab1e",
      "new_mode": 33188,
      "new_path": "Documentation/cmd-stream-events.txt"
    },
    {
      "type": "modify",
      "old_id": "0435f4e1e651e4f6389046619d0ff4b1e553f4de",
      "old_mode": 33188,
      "old_path": "Documentation/config-gerrit.txt",
      "new_id": "f33c52daab394960ad9eecc470d67bb9ae393f30",
      "new_mode": 33188,
      "new_path": "Documentation/config-gerrit.txt"
    },
    {
      "type": "modify",
      "old_id": "ec45837948a8aa9c063fba81c439eb74b893d052",
      "old_mode": 33188,
      "old_path": "Documentation/config-hooks.txt",
      "new_id": "a5415a9dc0425b6f7d6252b3db611633052709c4",
      "new_mode": 33188,
      "new_path": "Documentation/config-hooks.txt"
    },
    {
      "type": "modify",
      "old_id": "832bd2371c009f17a7969bc62635e7ad0e91f1b5",
      "old_mode": 33188,
      "old_path": "gerrit-server/src/main/java/com/google/gerrit/common/ChangeHookRunner.java",
      "new_id": "79c047fb15d4233a42a224b01c58fe140459c541",
      "new_mode": 33188,
      "new_path": "gerrit-server/src/main/java/com/google/gerrit/common/ChangeHookRunner.java"
    },
    {
      "type": "modify",
      "old_id": "dc258ca8fa3bf2caa1ed5d703475a9530697d7d5",
      "old_mode": 33188,
      "old_path": "gerrit-server/src/main/java/com/google/gerrit/common/ChangeHooks.java",
      "new_id": "0c86049bd4dba9218ea1a646d9da80581d0b6787",
      "new_mode": 33188,
      "new_path": "gerrit-server/src/main/java/com/google/gerrit/common/ChangeHooks.java"
    },
    {
      "type": "modify",
      "old_id": "496a273d0a5dad3f245a00f8a79bc01549b16cd9",
      "old_mode": 33188,
      "old_path": "gerrit-server/src/main/java/com/google/gerrit/common/DisabledChangeHooks.java",
      "new_id": "357a8b9bd5692fc822d3c6b5ae06596d7c7196f9",
      "new_mode": 33188,
      "new_path": "gerrit-server/src/main/java/com/google/gerrit/common/DisabledChangeHooks.java"
    },
    {
      "type": "modify",
      "old_id": "028feac968c5daeed52ae3e639c4d2ba708a4e6c",
      "old_mode": 33188,
      "old_path": "gerrit-server/src/main/java/com/google/gerrit/server/changedetail/PublishDraft.java",
      "new_id": "29e5dbb29c9badecba8046399f9249f55db62f80",
      "new_mode": 33188,
      "new_path": "gerrit-server/src/main/java/com/google/gerrit/server/changedetail/PublishDraft.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c90ac90de1be72b86fee3fd9664443ad03effb8b",
      "new_mode": 33188,
      "new_path": "gerrit-server/src/main/java/com/google/gerrit/server/events/DraftPublishedEvent.java"
    }
  ]
}
