)]}'
{
  "commit": "85509156274c841a2e93915406a70578235fc0ba",
  "tree": "d0bd3ab4d99189f51e7267cc53757d95e37a6c8d",
  "parents": [
    "e25f96140db1fb8af9d5c67905584cd48298e8ab"
  ],
  "author": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Sat Feb 22 10:41:25 2014 +0000"
  },
  "committer": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Sun Mar 23 14:13:30 2014 +0000"
  },
  "message": "Avoid use of @SessionScoped for GitHub login\n\nGuice\u0027s session scoped beans rely on the fact\nthat the the GuiceServlet has been captured the\nrequest and managed in the current thread.\nThis assumption is not true when a request gets\nfiltered outside GuiceServlet, as it happens for\nthe GitHub OAuth Filter.\n\nWith this change the GitHub login is directly\nobtained from the HTTP Servlet Request without\nrelying on GuiceServlet on the active request\nthread.\n\nChange-Id: Id9d687e9cb0cbab413e71ab5c369e64a10ec74f6\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "38a0eb6c9a342e70d8d899a5b718a61f6296bfd9",
      "old_mode": 33188,
      "old_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/GitHubLogin.java",
      "new_id": "6c6ff4f898c04a208652820945bf3eeb1fccc3fa",
      "new_mode": 33188,
      "new_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/GitHubLogin.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "13cc0389dbd57687ab550a82ebb1a49826d4a64c",
      "new_mode": 33188,
      "new_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/HttpSessionProvider.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b1f408c9abf3c9e923c6aa1fe91595f99065f41e",
      "new_mode": 33188,
      "new_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/ScopedProvider.java"
    },
    {
      "type": "modify",
      "old_id": "ac51ce1e6bbd54ba647e84efd5952c713387a777",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/GuiceHttpModule.java",
      "new_id": "b2358097a03a2731b8eed9365fc06982ccb11aea",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/GuiceHttpModule.java"
    },
    {
      "type": "modify",
      "old_id": "f8bb6da0f3ddad3ea053168f2d9bca596e4abae5",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/filters/GitHubOAuthFilter.java",
      "new_id": "19f000058368137539cb7674af29d6973fbefc7c",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/filters/GitHubOAuthFilter.java"
    },
    {
      "type": "modify",
      "old_id": "21a88e7748753fb83df73a9ead0722dc13167553",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/velocity/VelocityViewServlet.java",
      "new_id": "4ba74a55476db43c9b193a3690d71e31c83cfb83",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/velocity/VelocityViewServlet.java"
    },
    {
      "type": "modify",
      "old_id": "442a4597129aa7fabee27dd6cc9a7991ce1911e2",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/wizard/RepositoriesCloneCancelController.java",
      "new_id": "a8b2be2f8f64c0c6ba3b71f861f12d8ef1e3c690",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/wizard/RepositoriesCloneCancelController.java"
    },
    {
      "type": "modify",
      "old_id": "6862e7ed5ea045e6a2c94c460c71a7ba4f7ba7c6",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/wizard/RepositoriesCloneController.java",
      "new_id": "88f1abed5bb314cd6bff46e13b667e5561b69cd9",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/wizard/RepositoriesCloneController.java"
    },
    {
      "type": "modify",
      "old_id": "1fe55512e6a927fb64cbb875d846fb26a2e21337",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/wizard/RepositoriesCloneStatusController.java",
      "new_id": "da21f81827d33aa11117fabc346ff4e6dd4eff64",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/wizard/RepositoriesCloneStatusController.java"
    },
    {
      "type": "modify",
      "old_id": "35744f9ffb86fba92de81bcca91971d9c94185d8",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/wizard/VelocityControllerServlet.java",
      "new_id": "2680e7779e3a2b308039db6d6b6a6a2b949fa0f2",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/wizard/VelocityControllerServlet.java"
    },
    {
      "type": "modify",
      "old_id": "a0edbe675b761976799af2466926cc456ed947e5",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesrouce/gerrit/plugins/github/git/GitImporter.java",
      "new_id": "925bae1bf18c6d3993b9545653b0e5e85846860c",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesrouce/gerrit/plugins/github/git/GitImporter.java"
    },
    {
      "type": "modify",
      "old_id": "9fa2a618e362b06d3d57126cfe5f88f274765514",
      "old_mode": 33188,
      "old_path": "github-plugin/src/main/java/com/googlesrouce/gerrit/plugins/github/git/ReplicateProjectStep.java",
      "new_id": "90163912b7882ffd063e9602a7e9e0e5fa7f2eb9",
      "new_mode": 33188,
      "new_path": "github-plugin/src/main/java/com/googlesrouce/gerrit/plugins/github/git/ReplicateProjectStep.java"
    }
  ]
}
