)]}'
{
  "commit": "5348a4ff3755a168cc45f89651606d44ec1376a8",
  "tree": "bd2bf6f3da7262c66be08f92bf3b8372c0f57d06",
  "parents": [
    "5917018d25c303a3a12708d983423055946177be"
  ],
  "author": {
    "name": "Matthias Maennich",
    "email": "maennich@google.com",
    "time": "Thu Mar 09 16:48:08 2023 +0000"
  },
  "committer": {
    "name": "Matthias Maennich",
    "email": "maennich@google.com",
    "time": "Fri Mar 10 09:09:30 2023 +0000"
  },
  "message": "email validator: add options to reject upload based on email patterns\n\nSimilarly to allowing upload only when the committer and author email\nmatches given patterns, introduce rejecting upload based on patterns.\n\nThis effectively adds the options `rejectedAuthorEmailPattern` and\n`rejectedCommitterEmailPattern` and basically copies the implementation\ninverting the logic.\n\nThere could be made a bigger effort to deduplicate the code, yet there\nis very little churn on the code base itself and a high risk to break\nexisting users by refactoring the code in the absence of more detailed\ntests.\n\nThe documentation has been updated accordingly and slightly modified for\nclarity and brevity.\n\nBug: 259663353\nChange-Id: Ifaee5073df1e67cb9fd04da10e391b596b80998e\nSigned-off-by: Matthias Maennich \u003cmaennich@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "005da44c711181e7eb52c1421f2d4d4e3c0344e6",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/uploadvalidator/ChangeEmailValidator.java",
      "new_id": "328bfa99d47624289f3cd15b5f3036d0a2a4a85c",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/uploadvalidator/ChangeEmailValidator.java"
    },
    {
      "type": "modify",
      "old_id": "aa7b0cfc8e8ee06566a2da94623c03f8ec0f9c21",
      "old_mode": 33188,
      "old_path": "src/main/resources/Documentation/config.md",
      "new_id": "9c5f96758cdbc1c07b92b3b08bcc7d2e333486d2",
      "new_mode": 33188,
      "new_path": "src/main/resources/Documentation/config.md"
    },
    {
      "type": "modify",
      "old_id": "d54658c8ae36f1ed96236a76b22ca88871bf20bb",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/uploadvalidator/ChangeEmailTest.java",
      "new_id": "2c83f06d3fa1e57cb4dc24dd460938884fddfe7f",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/uploadvalidator/ChangeEmailTest.java"
    }
  ]
}
