)]}'
{
  "commit": "d74a1ed7bb765ef1817d3fa6240df78c5a43daf1",
  "tree": "13d06997c9049d702abc4ac3c40ee4d15666b7af",
  "parents": [
    "0ebf22199a8cc937055dbfd2adbbc9b642eadcf4"
  ],
  "author": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Wed Dec 11 23:26:34 2013 +0000"
  },
  "committer": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Tue Feb 11 21:32:32 2014 +0000"
  },
  "message": "Auto-update secure.config OAuth token when needed.\n\nGitHub OAuth can decide to expire an existing token\nand generate a new one, based on time and requested\nscope change: this may impact existing credentials\nstored in secure.config and then block replication\nto GitHub repos.\n\nWith this enhancement the secure.config is checked\nat login and updated if needed.\n\nNOTE: we could potentially have concurrency issues\n(even if the update is a synchronised method) because\nof replication auto-config with concurrent OAuth token \nupdates. FileBasedConfig already takes care of File-level\nlocking on save.\n\nChange-Id: I41fe6eb8020c2fdecad90232ddd27af5f8a995d7",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c6204299f0947c345a96320b81ce5522f96e6d5b",
      "new_mode": 33188,
      "new_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/ConcurrentFileBasedConfigWriteException.java"
    },
    {
      "type": "modify",
      "old_id": "6645b6927778f6e5ccb759baf486f1fef3ead65d",
      "old_mode": 33188,
      "old_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/GitHubOAuthConfig.java",
      "new_id": "a5a12efbfd363ce53ca883a9006926180573ef3e",
      "new_mode": 33188,
      "new_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/GitHubOAuthConfig.java"
    },
    {
      "type": "modify",
      "old_id": "ac4340b93edb01653f9d143eb7585e8914fc700c",
      "old_mode": 33188,
      "old_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/OAuthFilter.java",
      "new_id": "548847b948b08576a562f6e06dc50f5b3b05c44b",
      "new_mode": 33188,
      "new_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/OAuthFilter.java"
    }
  ]
}
