)]}'
{
  "commit": "6a4808e5242ae8266018433709ad5e2adf928396",
  "tree": "a6b15cecef072dcff17adb9a1956158332db4528",
  "parents": [
    "d0b433d60788d2d999dcd1cfc5cf86d11e9a3582"
  ],
  "author": {
    "name": "Gustaf Lundh",
    "email": "gustaf.lundh@sonymobile.com",
    "time": "Wed Oct 24 16:38:19 2012 +0200"
  },
  "committer": {
    "name": "Gustaf Lundh",
    "email": "gustaf.lundh@sonymobile.com",
    "time": "Wed Oct 24 18:21:35 2012 +0200"
  },
  "message": "Fix for CGit links\n\nThe default settings for cgit is to expect url to repositories\nthat ends with .git and this is not supported by Gerrit. From\nthe CGit config help file:\n\nremove-suffix::\n  If set to \"1\" and scan-path is enabled, if any repositories\n  are found with a suffix of \".git\", this suffix will be\n  removed for the url and name. Default value: \"0\". See also:\n  scan-path.\n\nThis is of importantance, because if you run cgit and have\nremove-suffix enabled, it cannot serve certain gits where the\nname without .git matches another path. Example:\n\n  \u003cgits_root\u003e/build.git\n  \u003cgits_root\u003e/build/scripts.git\n\nSince \u003cgits_root\u003e/build.git will be served as:\n\n  http://server/build/\n\nCGit cannot any longer serve:\n\n  http://server/build/scripts/\n\n...since it parses the git name from left to right until it\nhas a match with a matching repository.\n\nRunning cgit with remove-suffix:0 will work fine though, since\nthe two paths will be served as:\n\n  http://server/build.git/\n  http://server/build/scripts.git/\n\nHence, most Gerrit/cgit users with complexer git setups must\nrun cgit with the default setting of not removing the .git\nsuffix and will probably expect Gerrit to support this setup.\n\nChange-Id: Ib05e576c5f2dc1def37404a9023477135a1324a3\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0e2e50d6503ba14197d6c96361e71425d3510156",
      "old_mode": 33188,
      "old_path": "gerrit-common/src/main/java/com/google/gerrit/common/data/GitWebType.java",
      "new_id": "3580774f2e3455bf1f15e4c8cdfc5cf196a21de6",
      "new_mode": 33188,
      "new_path": "gerrit-common/src/main/java/com/google/gerrit/common/data/GitWebType.java"
    }
  ]
}
