)]}'
{
  "commit": "6f68e7fc774e1db55c6c87331ae6a880f466ead8",
  "tree": "5dc549ea448573ef916b01904e8ba5dd21c80331",
  "parents": [
    "775958645073d8b1535fa725cebd6a23f7514468"
  ],
  "author": {
    "name": "Christian Aistleitner",
    "email": "christian@quelltextlich.at",
    "time": "Mon May 06 10:09:03 2013 +0200"
  },
  "committer": {
    "name": "Christian Aistleitner",
    "email": "christian@quelltextlich.at",
    "time": "Mon May 06 12:23:41 2013 +0200"
  },
  "message": "Fix reviewer email notifications for new patch sets\n\nSince a7c4a3a6de7353e24d7ed112f92893f3144a85af, no emails were sent to\nreviewers when a new patch set has been uploaded to a change.\n\nThis regression was due to a change when copying labels. While before\nthe above commit all approvals of a change were returned, only the\napprovals of the previous patch set got returned after the above\ncommit.\n\nReverting to the previous behaviour would unnecessarily fetch more\nrows than needed as most callers do not pick up the returned set.\n\nWhen uploading a new patch set, we now again fetch all approvals for\nthe change and can thereby again notify all reviewers. For copying\nlabels to the new patch set, we reuse this fetched set of approvals\nand thereby avoid a further database query.\n\nChange-Id: Iba1e8585054cdef3e422bd951b0c61aa824b84fc\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "76c33abc7138588c5fc7d866d337b3e04896aca3",
      "old_mode": 33188,
      "old_path": "gerrit-server/src/main/java/com/google/gerrit/server/ApprovalsUtil.java",
      "new_id": "3fd24f19889dcf87b03a520094918c029b2b88e7",
      "new_mode": 33188,
      "new_path": "gerrit-server/src/main/java/com/google/gerrit/server/ApprovalsUtil.java"
    },
    {
      "type": "modify",
      "old_id": "0fe3a290b7aa2d1a445f94654dcd8432596652cc",
      "old_mode": 33188,
      "old_path": "gerrit-server/src/main/java/com/google/gerrit/server/git/ReceiveCommits.java",
      "new_id": "1d1541fd5514d3ab15290f23330fa2cf7e3fdabc",
      "new_mode": 33188,
      "new_path": "gerrit-server/src/main/java/com/google/gerrit/server/git/ReceiveCommits.java"
    }
  ]
}
