)]}'
{
  "commit": "f971bdf214f4608da772b94baf715b168bf70f12",
  "tree": "0ce98afbed6c33062179add452a94e0cce7c9a10",
  "parents": [
    "2d48b11c28ed93b847898f5c08cd44ebef277d57"
  ],
  "author": {
    "name": "Martin Fick",
    "email": "mogulguy10@gmail.com",
    "time": "Tue Nov 15 17:23:45 2016 -0700"
  },
  "committer": {
    "name": "James Melvin",
    "email": "jmelvin@codeaurora.org",
    "time": "Thu Apr 06 14:56:04 2017 -0600"
  },
  "message": "Add examples on how to register options to Commands\n\nThese examples show how to register options to SSH and REST\nCommands in Gerrit via plugin.\n\nexample-sshCommandOption\nexample-restApiCommandOption\n\nThis requires the following extension:\nhttps://gerrit-review.googlesource.com/#/c/80762/\n\nChange-Id: I98db80d23bb5fb54bdd261180d46fcc873a3ac23\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a399a21138a0cf8c6e07acb1e0732a2dd797adf3",
      "old_mode": 33188,
      "old_path": "BUILD",
      "new_id": "f1afcbf645f726e1cc6ecfe54c5c92c96e53d43f",
      "new_mode": 33188,
      "new_path": "BUILD"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6a98b68928f5472c1e4a4e028843f38321bd0b8e",
      "new_mode": 33188,
      "new_path": "example-restApiCommandOption/.buckconfig"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7e6dfbf930779584e889e31e4566db406457315e",
      "new_mode": 33188,
      "new_path": "example-restApiCommandOption/BUCK"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "18c2ec77d63e272a4bdf28fde3fa792fd1c8b3bf",
      "new_mode": 33188,
      "new_path": "example-restApiCommandOption/BUILD"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "11069edd79019f7dafbe3138841cf289209270dd",
      "new_mode": 33188,
      "new_path": "example-restApiCommandOption/LICENSE"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1b03b76f4f111df8410055db66f3c8b3e93da242",
      "new_mode": 33188,
      "new_path": "example-restApiCommandOption/WORKSPACE"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e14e488492c9e7dcc1d3b65fedc0f65432e2855e",
      "new_mode": 33188,
      "new_path": "example-restApiCommandOption/bazlets.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "20c888c7f2e3b55f50b10d7bf66325082736d828",
      "new_mode": 33188,
      "new_path": "example-restApiCommandOption/lib/gerrit/BUCK"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "276c47dd8884de8a6db36207ac005f235fbb9a7f",
      "new_mode": 33188,
      "new_path": "example-restApiCommandOption/pom.xml"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7a69538fcf9f4c007fda94a22bbaabf24c12cd96",
      "new_mode": 33188,
      "new_path": "example-restApiCommandOption/src/main/java/com/googlesource/gerrit/plugins/examples/restapicommandoption/HttpModule.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9387be037df0fac3313d3c65e171ea319d563d73",
      "new_mode": 33188,
      "new_path": "example-restApiCommandOption/src/main/resources/Documentation/about.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d6f6746d81431efc219fc9f9c790773e45ff75d7",
      "new_mode": 33188,
      "new_path": "example-restApiCommandOption/src/main/resources/Documentation/rest-api-GET.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4ed16cfd5ab9c319e127353e074ea81a7cff7d45",
      "new_mode": 33188,
      "new_path": "example-restApiCommandOption/tools/bazel.rc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "new_mode": 33188,
      "new_path": "example-restApiCommandOption/tools/bzl/BUILD"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2b1df8c9aee7b28456447fab7b0f5457a5b986e3",
      "new_mode": 33188,
      "new_path": "example-restApiCommandOption/tools/bzl/plugin.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "60218edd404d8c699c88ccb253b3f2f10c77d387",
      "new_mode": 33261,
      "new_path": "example-restApiCommandOption/tools/workspace-status.sh"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "13bf94a4edb674755cdeb30362354d0f73333a90",
      "new_mode": 33188,
      "new_path": "example-sshCommandOption/.buckconfig"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "db1c934e2a14164b400d13c961733917f57bd09c",
      "new_mode": 33188,
      "new_path": "example-sshCommandOption/.gitignore"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b6161be8e5652588b32716083dca2a5da70bbab0",
      "new_mode": 33188,
      "new_path": "example-sshCommandOption/BUCK"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "10cc093ea2932598078d3017e517cac43ef6d1dd",
      "new_mode": 33188,
      "new_path": "example-sshCommandOption/BUILD"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "11069edd79019f7dafbe3138841cf289209270dd",
      "new_mode": 33188,
      "new_path": "example-sshCommandOption/LICENSE"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "324fd169a1fa7e8dadb0b8c63ca4db4fe3f57f8d",
      "new_mode": 33188,
      "new_path": "example-sshCommandOption/WORKSPACE"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e14e488492c9e7dcc1d3b65fedc0f65432e2855e",
      "new_mode": 33188,
      "new_path": "example-sshCommandOption/bazlets.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "20c888c7f2e3b55f50b10d7bf66325082736d828",
      "new_mode": 33188,
      "new_path": "example-sshCommandOption/lib/gerrit/BUCK"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8f59842d56cf6780e782398a31dae77f47a18ce4",
      "new_mode": 33188,
      "new_path": "example-sshCommandOption/pom.xml"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "afd3cd450216161e20d9bd7d891da4e54667534d",
      "new_mode": 33188,
      "new_path": "example-sshCommandOption/src/main/java/com/googlesource/gerrit/plugins/examples/sshcommandoption/SshModule.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ff889d494e7969e66d2fb124f2247b7eca62ea9c",
      "new_mode": 33188,
      "new_path": "example-sshCommandOption/src/main/resources/Documentation/about.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "325e1cb2be5ba535e053b913615f3d076cc18c90",
      "new_mode": 33188,
      "new_path": "example-sshCommandOption/src/main/resources/Documentation/cmd-gerrit-ban-commit.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4ed16cfd5ab9c319e127353e074ea81a7cff7d45",
      "new_mode": 33188,
      "new_path": "example-sshCommandOption/tools/bazel.rc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "new_mode": 33188,
      "new_path": "example-sshCommandOption/tools/bzl/BUILD"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2b1df8c9aee7b28456447fab7b0f5457a5b986e3",
      "new_mode": 33188,
      "new_path": "example-sshCommandOption/tools/bzl/plugin.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "818089104655a0e107bd3f3d3e718c4cbb5d040a",
      "new_mode": 33261,
      "new_path": "example-sshCommandOption/tools/workspace-status.sh"
    }
  ]
}
