)]}'
{
  "commit": "a23eb106192a3e956ae2fab3e48c629cf8db828e",
  "tree": "540e4f582dd6440d56b084cf2e9da41d843d17c8",
  "parents": [
    "3e05f81f8c991ac74abee2c0798592438347c62e"
  ],
  "author": {
    "name": "Edwin Kempin",
    "email": "edwin.kempin@sap.com",
    "time": "Wed Jul 17 09:10:54 2013 +0200"
  },
  "committer": {
    "name": "Edwin Kempin",
    "email": "edwin.kempin@gmail.com",
    "time": "Wed Aug 14 07:34:01 2013 +0000"
  },
  "message": "Add REST endpoint to update the project configuration\n\nBy PUT on /projects/*/config it is now possible to update the\nconfiguration of a project.\n\nWe already have REST endpoints to get and set the project description\n(GET and PUT on /projects/*/description), however on the\nProjectInfoScreen we have a single save button to save both the project\ndescription and the project configuration settings. Triggering two calls\nin parallel with a callback group, one to update the project description\nand one to update the project configuration, is likely failing because\nboth requests need to update the project.config file. If it happens in\nparallel one request will get a LOCK_FAILURE. Also it would be bad to\ncreate two commits for a single save action. This is why it makes sense\nto also allow to get and set the project description via the GetConfig\nand PutConfig REST endpoints.\n\nChange-Id: I2109264d75dd50d103e58e8a9e73492e2aa5807c\nSigned-off-by: Edwin Kempin \u003cedwin.kempin@sap.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "57d62904e777e4a5ea83b5c1d5eed9318cf51450",
      "old_mode": 33188,
      "old_path": "Documentation/rest-api-projects.txt",
      "new_id": "88b45777eb30cf36eb8a2c77461a5af3cbc55798",
      "new_mode": 33188,
      "new_path": "Documentation/rest-api-projects.txt"
    },
    {
      "type": "modify",
      "old_id": "eb6d811e0430f48a17cf081af4c4a1f789bbf4a9",
      "old_mode": 33188,
      "old_path": "gerrit-extension-api/src/main/java/com/google/gerrit/extensions/restapi/ResourceConflictException.java",
      "new_id": "aa503c16cec65a8b5ad7bfe24f447e321a6fcb9d",
      "new_mode": 33188,
      "new_path": "gerrit-extension-api/src/main/java/com/google/gerrit/extensions/restapi/ResourceConflictException.java"
    },
    {
      "type": "modify",
      "old_id": "0e358ec6297537643a16e8abd287ea14249ea53e",
      "old_mode": 33188,
      "old_path": "gerrit-extension-api/src/main/java/com/google/gerrit/extensions/restapi/ResourceNotFoundException.java",
      "new_id": "76942e6569bca4e7f0e7cb3dc08b7b0f4407b1fe",
      "new_mode": 33188,
      "new_path": "gerrit-extension-api/src/main/java/com/google/gerrit/extensions/restapi/ResourceNotFoundException.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "bc8d5f0aca1f8090db9ce056765806b3ccd51ea7",
      "new_mode": 33188,
      "new_path": "gerrit-server/src/main/java/com/google/gerrit/server/project/ConfigInfo.java"
    },
    {
      "type": "modify",
      "old_id": "9193fd9ba2c9bd716eec997c98fe42519600002d",
      "old_mode": 33188,
      "old_path": "gerrit-server/src/main/java/com/google/gerrit/server/project/GetConfig.java",
      "new_id": "cac9cdb79263f26c9590d1a9ca1a456f172322bb",
      "new_mode": 33188,
      "new_path": "gerrit-server/src/main/java/com/google/gerrit/server/project/GetConfig.java"
    },
    {
      "type": "modify",
      "old_id": "82b016c23968fe01825ce28734dabe7d85aa0bba",
      "old_mode": 33188,
      "old_path": "gerrit-server/src/main/java/com/google/gerrit/server/project/Module.java",
      "new_id": "0ef875e77ec09905b15dae41fe2af265cd09955a",
      "new_mode": 33188,
      "new_path": "gerrit-server/src/main/java/com/google/gerrit/server/project/Module.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d7cad5d755ebf888d7a437f151dfb2bf31cdcdce",
      "new_mode": 33188,
      "new_path": "gerrit-server/src/main/java/com/google/gerrit/server/project/PutConfig.java"
    }
  ]
}
