)]}'
{
  "commit": "34dfe197a93763ec9c5d25eec499777cbb32b6fd",
  "tree": "0190bf174c73be8db13e1b127f817c6b1f1520b8",
  "parents": [
    "5de7f500c13c8158696a68d86da1030313ddaf69"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Sun Jul 13 02:42:12 2014 -0400"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Mon Jul 28 10:14:34 2014 -0700"
  },
  "message": "object_as_type: set commit index\n\nThe point of the \"index\" field of struct commit is that\nevery allocated commit would have one. It is supposed to be\nan invariant that whenever object-\u003etype is set to\nOBJ_COMMIT, we have a unique index.\n\nCommit 969eba6 (commit: push commit_index update into\nalloc_commit_node, 2014-06-10) covered this case for\nnewly-allocated commits. However, we may also allocate an\n\"unknown\" object via lookup_unknown_object, and only later\nconvert it to a commit. We must make sure that we set the\ncommit index when we switch the type field.\n\nSigned-off-by: Jeff King \u003cpeff@peff.net\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b2319f62468c76134e84c157c2035654b38e17fc",
      "old_mode": 33188,
      "old_path": "object.c",
      "new_id": "69fbbbf504d861fac42ee50bc04a49ede1f60028",
      "new_mode": 33188,
      "new_path": "object.c"
    }
  ]
}
