)]}'
{
  "commit": "f38d918c05472451e558fda6d2b9e8b770e758fc",
  "tree": "21927715ffc39b488de32bfc163d94b2d717b885",
  "parents": [
    "5819c95874a6766df8c04a9425d316fafff7fd32"
  ],
  "author": {
    "name": "Colby Ranger",
    "email": "cranger@google.com",
    "time": "Tue Dec 11 10:43:14 2012 +0100"
  },
  "committer": {
    "name": "Edwin Kempin",
    "email": "edwin.kempin@sap.com",
    "time": "Thu Dec 13 15:13:02 2012 +0100"
  },
  "message": "Fix NullPointerException on push over HTTP\n\nPush over HTTP is failing with an NullPointerException because\n\u0027allRefs\u0027 in ReceiveCommits is not set.\n\nWhen pushing over HTTP two requests are received by Gerrit:\n\n1. GET /myProject/info/refs\nReceiveCommits is instantiated, the refs are advertised so that\n\u0027allRefs\u0027 gets set from the AdvertiseRefsHook\n\n2. POST /myProject/git-receive-pack\nAnother instance of ReceiveCommits is created, \u0027allRefs\u0027\ndoesn\u0027t get set for this instance, as result the request is failing\nwith an NullPointerException\n\nFix this by ensuring that the AdvertiseRefsHook is triggered for each\nrequest so that so that \u0027allRefs\u0027 always gets set.\n\nChange-Id: I794ba1cc1cc87ef90e64c6d0350ca1d29d6afaaf\nSigned-off-by: Edwin Kempin \u003cedwin.kempin@sap.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "546ac71c7b47f8694f7c165842b7fd64cfeb72ac",
      "old_mode": 33188,
      "old_path": "gerrit-httpd/src/main/java/com/google/gerrit/httpd/GitOverHttpServlet.java",
      "new_id": "dad9b8057807b461938108d47fc4449eb8d446d6",
      "new_mode": 33188,
      "new_path": "gerrit-httpd/src/main/java/com/google/gerrit/httpd/GitOverHttpServlet.java"
    }
  ]
}
