)]}'
{
  "commit": "b56e764ce200c2bd33ebdd1b557982148ab8b68e",
  "tree": "a89f982901dcd629ba4d3225904bab81e42ec591",
  "parents": [
    "dd2fb4e06319e46c10fabd936342ef5afcb131c1"
  ],
  "author": {
    "name": "Edwin Kempin",
    "email": "ekempin@google.com",
    "time": "Wed Nov 18 13:39:41 2020 +0100"
  },
  "committer": {
    "name": "Edwin Kempin",
    "email": "ekempin@google.com",
    "time": "Wed Nov 18 13:54:09 2020 +0100"
  },
  "message": "Don\u0027t filter out service users when listing code owners for path in branch\n\nCurrently we have 2 REST endpoints to list code owners for a path that\nbehave the same:\n\n* GetCodeOwnersForPathInBranch\n* GetCodeOwnersForPathInChange\n\nGoing on GetCodeOwnersForPathInChange will be used to suggest code\nowners for a path on a change, whereas GetCodeOwnersForPathInBranch\nlists all code owners for path. The difference is that for\nGetCodeOwnersForPathInChange we will filter out code owners that should\nnot show up in the suggestion (e.g. service users) whereas\nGetCodeOwnersForPathInBranch includes all code owners.\n\nThe frontend part was already adapted to use\nGetCodeOwnersForPathInChange for suggestion code owners (see change\nIe04e60913).\n\nGetCodeOwnersForPathInBranch is not used by the frontend, but is\nintended to be used by bots that want to query all code owners.\n\nSigned-off-by: Edwin Kempin \u003cekempin@google.com\u003e\nChange-Id: Ifbec40349fa1bde36ea36822e6f4bc2a39fd295e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "854ffd77e84b4e946713355f37e04a453c944a12",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/plugins/codeowners/restapi/AbstractGetCodeOwnersForPath.java",
      "new_id": "e3c7a1f875c954d609d04241c62a742475d5aaf7",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/plugins/codeowners/restapi/AbstractGetCodeOwnersForPath.java"
    },
    {
      "type": "modify",
      "old_id": "c2c22df863aa255db52c85baba7478a9535ed8f1",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/plugins/codeowners/restapi/GetCodeOwnersForPathInBranch.java",
      "new_id": "a94d84877fbc4b5e22c844cb13152df01daaa05a",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/plugins/codeowners/restapi/GetCodeOwnersForPathInBranch.java"
    },
    {
      "type": "modify",
      "old_id": "348361445163897894bd36fde5d29ee76a4127ce",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/plugins/codeowners/restapi/GetCodeOwnersForPathInChange.java",
      "new_id": "216d2644bf25ac923664e67e0446c5b3a59b4b4c",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/plugins/codeowners/restapi/GetCodeOwnersForPathInChange.java"
    },
    {
      "type": "modify",
      "old_id": "b9032cb878021bd585206dede7e9b31b8f76786b",
      "old_mode": 33188,
      "old_path": "javatests/com/google/gerrit/plugins/codeowners/acceptance/api/AbstractGetCodeOwnersForPathIT.java",
      "new_id": "e6d8955baf835551e69102afc97dfbf247b0f4fb",
      "new_mode": 33188,
      "new_path": "javatests/com/google/gerrit/plugins/codeowners/acceptance/api/AbstractGetCodeOwnersForPathIT.java"
    },
    {
      "type": "modify",
      "old_id": "db43d5169b0d396f9c334beff888fc9775581660",
      "old_mode": 33188,
      "old_path": "javatests/com/google/gerrit/plugins/codeowners/acceptance/api/GetCodeOwnersForPathInBranchIT.java",
      "new_id": "341beafcde6832ea66e3636749cc6ff186778bf0",
      "new_mode": 33188,
      "new_path": "javatests/com/google/gerrit/plugins/codeowners/acceptance/api/GetCodeOwnersForPathInBranchIT.java"
    },
    {
      "type": "modify",
      "old_id": "428cc382f9d1b1235775fe77aa09ef596ed545bb",
      "old_mode": 33188,
      "old_path": "javatests/com/google/gerrit/plugins/codeowners/acceptance/api/GetCodeOwnersForPathInChangeIT.java",
      "new_id": "7e82e20f88e743be5c7ac5e7d0627f8579daa390",
      "new_mode": 33188,
      "new_path": "javatests/com/google/gerrit/plugins/codeowners/acceptance/api/GetCodeOwnersForPathInChangeIT.java"
    },
    {
      "type": "modify",
      "old_id": "c2aafff20ce95ab4a1f8a83707c434eadc56d899",
      "old_mode": 33188,
      "old_path": "resources/Documentation/rest-api.md",
      "new_id": "26cf3413ab0675b88bb2005f691364e10ed64dae",
      "new_mode": 33188,
      "new_path": "resources/Documentation/rest-api.md"
    }
  ]
}
