)]}'
{
  "commit": "c7f07dca19e300e94f9f476eda91dccfbb1ec82e",
  "tree": "27bcd76cb242d04fc59e9694fd833e78a9fcd35c",
  "parents": [
    "b9ed928073ba22caaae1ce1bd747fdb1afc5bc56"
  ],
  "author": {
    "name": "Becky Siegel",
    "email": "beckysiegel@google.com",
    "time": "Thu Nov 02 16:07:13 2017 -0700"
  },
  "committer": {
    "name": "Becky Siegel",
    "email": "beckysiegel@google.com",
    "time": "Mon Nov 06 14:31:59 2017 -0800"
  },
  "message": "Update gr-comment-api\n\nPreviously, nested components (that are never standalone) were making\ntheir own requests for comments, creating unecessary duplicate API\nrequests.\n\nSome requests were made to the rest API directly (for example,\ngr-change-view requested comments this way), and some were through the\ngr-comment-api, which also helped handle comment manipulation and\nreorganization.\n\nInstead of ad-hoc comment requesting, move all comment requests to the\ntop level (standalone) component, and use an object prototype to\ngenerate _changeComments as a property on gr-comment-api. This is an\nimmutable object that can be passed to the inner components\n(file list, etc), and includes the methods needed to manipulate\ncomments into the forms\nnecessary.\n\nWhen a child component needs to trigger a refresh of the comments, fire\nan event that the parent event handles (see gr-file-list l.867).\n\nBug: Issue 6953\nChange-Id: Ic4b6cf16520baae65d8cf956c311a60f2a70a2e1\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8b158800a7a3c96dd52edbb1bddc55dda644a8ef",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.html",
      "new_id": "7a29eea32626c2adebaa154ba045b9b1c9e8356b",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.html"
    },
    {
      "type": "modify",
      "old_id": "c658e8df73ba4014ee13cf5036cfd01aa42b6dcd",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.js",
      "new_id": "5da411e2e6050c8acc1dba5b6bbd1803cde67f99",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/change/gr-change-view/gr-change-view.js"
    },
    {
      "type": "modify",
      "old_id": "129b4b30041f760b6df43d0d8adc2aa29d8ae1ac",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/change/gr-change-view/gr-change-view_test.html",
      "new_id": "915a229f34bd71b9b9869bc1f21235bc7a75329d",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/change/gr-change-view/gr-change-view_test.html"
    },
    {
      "type": "modify",
      "old_id": "7080fc650937b18567a22696e3ee9bb5cffddbb5",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.html",
      "new_id": "4ee0f3166ac565351f36bed0a810065febf7dc1d",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.html"
    },
    {
      "type": "modify",
      "old_id": "f7b1af91a0ad7a7be76862ced798513bafc1868a",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.js",
      "new_id": "656908866a6c34e7ef3e0721473c02bad0b639c6",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.js"
    },
    {
      "type": "modify",
      "old_id": "be03e3893bd7359aeb54eb65f0d6549b957a7021",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/change/gr-file-list/gr-file-list_test.html",
      "new_id": "5854f2f5c83636f7e3f462ee732a6cee4ff84ca4",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/change/gr-file-list/gr-file-list_test.html"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "cfcafd374144cf422d05e0d1c45da5edebd20ea9",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/diff/gr-comment-api/gr-comment-api-mock.js"
    },
    {
      "type": "modify",
      "old_id": "ef39e1f67326267b246bd87d4612c4e5fd884757",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/diff/gr-comment-api/gr-comment-api.js",
      "new_id": "bf608e82b4f12a1f9c2a648b66da91158febbfde",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/diff/gr-comment-api/gr-comment-api.js"
    },
    {
      "type": "modify",
      "old_id": "09403a453467869f89481ee86567726c48801b51",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/diff/gr-comment-api/gr-comment-api_test.html",
      "new_id": "eae249d4c3cb211fcda9091387967e3c26f318d8",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/diff/gr-comment-api/gr-comment-api_test.html"
    },
    {
      "type": "modify",
      "old_id": "b97d97452052f6e7f92f240c738e6bf55a1c9590",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.js",
      "new_id": "6f25c5504c9072002789fb4f03d6959e8052fa5f",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view.js"
    },
    {
      "type": "modify",
      "old_id": "fa37eb9e5566b5b5c2f0e7e1424e1b03aab8d00a",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view_test.html",
      "new_id": "26f918019ffc47474d363106774e5855d7b339be",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/diff/gr-diff-view/gr-diff-view_test.html"
    },
    {
      "type": "modify",
      "old_id": "9a7a59e98306e47e7ee6d20fe18e9237ad2cd107",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.js",
      "new_id": "24829f83f0838ecd4aab5ef87361c4d5058e4502",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/shared/gr-rest-api-interface/gr-rest-api-interface.js"
    }
  ]
}
